From 8f34ae7e0fdba3c717823a4925c7930a003a8b09 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Fri, 2 Oct 2009 03:06:32 +0000 Subject: [PATCH] Merged revisions 221920 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r221920 | tilghman | 2009-10-01 22:04:34 -0500 (Thu, 01 Oct 2009) | 4 lines Initialize a variable that we check immediately upon startup. (closes issue #15973) Reported by: atis ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@221922 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 8a0f110942..d9d45472e1 100644 --- a/main/logger.c +++ b/main/logger.c @@ -145,7 +145,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 *eventlog; static FILE *qlog;