Added SILC errno API. Added SilcResult, generic error code and
[crypto.git] / lib / silcutil / silclog.c
index 56f5532c5dc9b534ce5ee36642dfbe3fe8db7bd7..267e7305619af43d593d8c1f2412444cb201bf73 100644 (file)
@@ -183,7 +183,7 @@ void silc_log_output(SilcLogType type, char *string)
   if (!silclog.scheduled) {
     if (silclog.no_init == FALSE) {
       fprintf(stderr,
-             "Warning, trying to output without log files initialization, "
+             "Warning, log files not initialized, "
              "log output is going to stderr\n");
       silclog.no_init = TRUE;
     }
@@ -424,7 +424,7 @@ void silc_log_set_debug_string(const char *debug_string)
   int len;
   if ((strchr(debug_string, '(') && strchr(debug_string, ')')) ||
       strchr(debug_string, '$'))
-    string = strdup(debug_string);
+    string = silc_strdup(debug_string);
   else
     string = silc_string_regexify(debug_string);
   len = strlen(string);