From ba10edfcac0e8ee9c5ac434e059ea07cdb439767 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher <tilghman@meg.abyt.es> Date: Fri, 2 Oct 2009 03:04:34 +0000 Subject: [PATCH] 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 --- main/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/logger.c b/main/logger.c index ea8c10d451..5dbceebaad 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; -- GitLab