aboutsummaryrefslogtreecommitdiffstats
path: root/main/logger.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-02 03:04:34 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-02 03:04:34 +0000
commit6ceb1b581caa607784ba8fb910011fb15dde49b9 (patch)
treeaff41fadf06ab6bc44011e3aa2d14e49fd2e2503 /main/logger.c
parent57923b74de8575697a44c2ad23edfde9c49cc5e7 (diff)
Initialize a variable that we check immediately upon startup.
(closes issue #15973) Reported by: atis git-svn-id: http://svn.digium.com/svn/asterisk/trunk@221920 f38db490-d61c-443f-a65b-d21fe96a405b
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;