From e23cfd7c80ffa164e95be422379c1ef14377f06d Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Fri, 2 Oct 2009 03:05:28 +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.0@221921 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 ba031e06f0..ca29d2ace2 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;