diff --git a/dcapi/common/logger.c b/dcapi/common/logger.c index 80948e89fe..265968808f 100644 --- a/dcapi/common/logger.c +++ b/dcapi/common/logger.c @@ -13,6 +13,7 @@ #include #endif +/* Set the log level to -1 so the first call to DC_log() will call init_log() */ static int loglevel = -1; static FILE *logfile;