X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilclog.c;h=8ce34c0970be2e5826597b055adc1301e896c094;hb=6a164e529cda00a6ebb5b34dd108aa8e67108442;hp=5f770769103d9f085b6d5dca501ad511d4c6f3d2;hpb=c5bfb6bb86ad457a4e85fc0a3b9a608313fe9e2a;p=silc.git diff --git a/lib/silcutil/silclog.c b/lib/silcutil/silclog.c index 5f770769..8ce34c09 100644 --- a/lib/silcutil/silclog.c +++ b/lib/silcutil/silclog.c @@ -122,7 +122,7 @@ static void silc_log_checksize(SilcLog log) /* It's too big */ fprintf(log->fp, "[%s] [%s] Cycling log file, over max " "logsize (%lu kilobytes)\n", - silc_get_time(), log->typename, log->maxsize / 1024); + silc_get_time(0), log->typename, log->maxsize / 1024); fflush(log->fp); fclose(log->fp); snprintf(newname, sizeof(newname), "%s.old", log->filename); @@ -225,7 +225,7 @@ void silc_log_output(SilcLogType type, char *string) found: /* writes the logging string to the selected channel */ if (silc_log_timestamp) - fprintf(fp, "[%s] [%s] %s\n", silc_get_time(), typename, string); + fprintf(fp, "[%s] [%s] %s\n", silc_get_time(0), typename, string); else fprintf(fp, "[%s] %s\n", typename, string);