From: Tilghman Lesher Date: Fri, 2 Oct 2009 03:04:34 +0000 (+0000) Subject: Initialize a variable that we check immediately upon startup. X-Git-Tag: 11.0.0-beta1~4086 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba10edfcac0e8ee9c5ac434e059ea07cdb439767;p=thirdparty%2Fasterisk.git 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 --- 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;