Added SILC Server library.
[silc.git] / lib / silcutil / tests / test_silcstrutil.c
index dcf9466273040b88205fb2f287ca565101e954d2..343ab714fc9e93048561f2134c59ae8f55385ff3 100644 (file)
@@ -1,6 +1,6 @@
 /* UTF-8 decoding tests */
 
-#include "silcincludes.h"
+#include "silc.h"
 
 #define utf8fail(n, data, len)                 \
 const unsigned char u##n[] = (data);           \
@@ -50,7 +50,7 @@ utf8fail(30, "\xf0\x20\xf9\x20\xfa\x20\xfb\x20", 8);
 
 int main(int argc, char **argv)
 {
-  bool success = FALSE;
+  SilcBool success = FALSE;
   unsigned char *s1, *s2, *s3, *s4;
   int l, opt;
 
@@ -65,8 +65,9 @@ int main(int argc, char **argv)
           exit(0);
           break;
         case 'd':
-          silc_debug = TRUE;
-         silc_debug_hexdump = TRUE;
+          silc_log_debug(TRUE);
+         silc_log_debug_hexdump(TRUE);
+         silc_log_quick(TRUE);
           if (optarg)
             silc_log_set_debug_string(optarg);
          else