summaryrefslogtreecommitdiff
path: root/main/logger.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2009-10-02 03:04:34 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2009-10-02 03:04:34 +0000
commitba10edfcac0e8ee9c5ac434e059ea07cdb439767 (patch)
treeaff41fadf06ab6bc44011e3aa2d14e49fd2e2503 /main/logger.c
parent80f0a242a74646b94ee3a8c8c673657b0a85d7c3 (diff)
Initialize a variable that we check immediately upon startup.
(closes issue #15973) Reported by: atis git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@221920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/logger.c')
-rw-r--r--main/logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/logger.c b/main/logger.c
index ea8c10d45..5dbceebaa 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;