From 2fd7d05107008e72481df88961630f0c8ecd8ba5 Mon Sep 17 00:00:00 2001 From: tilghman Date: Fri, 2 Oct 2009 03:06:41 +0000 Subject: 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: http://svn.digium.com/svn/asterisk/branches/1.6.2@221923 f38db490-d61c-443f-a65b-d21fe96a405b --- main/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/logger.c b/main/logger.c index 8c0968ce6..92630ba7a 100644 --- a/main/logger.c +++ b/main/logger.c @@ -149,7 +149,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; -- cgit v1.2.3