[asterisk-commits] kpfleming: branch 1.6.2 r191779 - in /branches/1.6.2: ./ main/logger.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat May 2 13:48:46 CDT 2009
Author: kpfleming
Date: Sat May 2 13:48:43 2009
New Revision: 191779
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=191779
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.2/ (props changed)
branches/1.6.2/main/logger.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/main/logger.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.2/main/logger.c?view=diff&rev=191779&r1=191778&r2=191779
==============================================================================
--- branches/1.6.2/main/logger.c (original)
+++ branches/1.6.2/main/logger.c Sat May 2 13:48:43 2009
@@ -623,14 +623,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