diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-12-27 22:14:33 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-12-27 22:14:33 +0000 |
commit | adca0ff14bbecf8e65aec48956ce28690debdeaf (patch) | |
tree | e9add4fc02f476def2f55761228016937b1df512 /main/logger.c | |
parent | d7b0ec86468d98bf143b320b89d3fbe206e4ba54 (diff) |
Merged revisions 49006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49006 | kpfleming | 2006-12-27 16:06:56 -0600 (Wed, 27 Dec 2006) | 2 lines
since these variables all have static duration, none of them need initializers (they default to zero anyway)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/logger.c')
-rw-r--r-- | main/logger.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/logger.c b/main/logger.c index 541fa92db..3d9cb04a2 100644 --- a/main/logger.c +++ b/main/logger.c @@ -86,9 +86,9 @@ static char dateformat[256] = "%b %e %T"; /* Original Asterisk Format */ static char queue_log_name[256] = QUEUELOG; -static int filesize_reload_needed = 0; +static int filesize_reload_needed; static int global_logmask = -1; -static int rotatetimestamp = 0; +static int rotatetimestamp; static struct { unsigned int queue_log:1; @@ -134,10 +134,10 @@ 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 = 0; +static int close_logger_thread; -static FILE *eventlog = NULL; -static FILE *qlog = NULL; +static FILE *eventlog; +static FILE *qlog; static char *levels[] = { "DEBUG", |