Initialize a variable that we check immediately upon startup.
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 2 Oct 2009 03:04:34 +0000 (03:04 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 2 Oct 2009 03:04:34 +0000 (03:04 +0000)
(closes issue #15973)
 Reported by: atis

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@221920 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/logger.c

index ea8c10d..5dbceeb 100644 (file)
@@ -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;