diff --git a/main/logger.c b/main/logger.c index ea8c10d45116dc1660cb3bc465177d4d9c0fa7e5..5dbceebaad8c08a11ff41b4371f39877be20cbde 100644 --- a/main/logger.c +++ b/main/logger.c @@ -139,7 +139,7 @@ struct logmsg { static AST_LIST_HEAD_STATIC(logmsgs, logmsg); static pthread_t logthread = AST_PTHREADT_NULL; static ast_cond_t logcond; -static int close_logger_thread; +static int close_logger_thread = 0; static FILE *qlog;