]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 221920 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 2 Oct 2009 03:06:32 +0000 (03:06 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 2 Oct 2009 03:06:32 +0000 (03:06 +0000)
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

index 8a0f110942d2eb8dd735cc0dddf0022f7fcedaba..d9d45472e1fdaa1a13520755221f5ac107e6ae40 100644 (file)
@@ -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;