[asterisk-commits] kpfleming: branch 1.6.1 r191777 - in /branches/1.6.1: ./ main/logger.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat May 2 13:45:59 CDT 2009
Author: kpfleming
Date: Sat May 2 13:45:56 2009
New Revision: 191777
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=191777
Log:
Merged revisions 191775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r191775 | kpfleming | 2009-05-02 20:39:48 +0200 (Sat, 02 May 2009) | 5 lines
Fix an error in queue_log file rotation optimization code
This code was copy-and-pasted without properly changing references to event_rotate into queue_rotate, so under some conditions the log rotation would rotate queue_log even though it was not necessary.
........
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/main/logger.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/main/logger.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.1/main/logger.c?view=diff&rev=191777&r1=191776&r2=191777
==============================================================================
--- branches/1.6.1/main/logger.c (original)
+++ branches/1.6.1/main/logger.c Sat May 2 13:45:56 2009
@@ -619,14 +619,13 @@
fclose(qlog);
qlog = NULL;
} else
- event_rotate = 0;
+ queue_rotate = 0;
} else {
fclose(qlog);
qlog = NULL;
}
} else
queue_rotate = 0;
- qlog = NULL;
ast_mkdir(ast_config_AST_LOG_DIR, 0777);
More information about the asterisk-commits
mailing list