Browse Source

* fix minor compile warning

master
Alex 'AdUser' Z 4 years ago
parent
commit
51769d8407
  1. 1
      src/log.c

1
src/log.c

@ -56,6 +56,7 @@ void f2b_log_msg(log_msgtype_t l, const char *fmt, ...) {
default:
case log_stderr:
logfile = stderr;
/* fallthru */
case log_file:
strftime(when, sizeof(when), "%F %H:%M:%S", localtime(&now));
fprintf(logfile, "%s [%s] %s\n", when, loglevels[l], msg);

Loading…
Cancel
Save