[asterisk-commits] tilghman: branch 1.6.2 r284631 -	/branches/1.6.2/apps/app_queue.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Thu Sep  2 00:30:22 CDT 2010
    
    
  
Author: tilghman
Date: Thu Sep  2 00:30:16 2010
New Revision: 284631
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=284631
Log:
Don't reset queue stats on a module reload.
(closes issue #17535)
 Reported by: raarts
 Patches: 
       20100819__issue17535.diff.txt uploaded by tilghman (license 14)
Modified:
    branches/1.6.2/apps/app_queue.c
Modified: branches/1.6.2/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_queue.c?view=diff&rev=284631&r1=284630&r2=284631
==============================================================================
--- branches/1.6.2/apps/app_queue.c (original)
+++ branches/1.6.2/apps/app_queue.c Thu Sep  2 00:30:16 2010
@@ -7284,7 +7284,7 @@
 
 static int reload(void)
 {
-	struct ast_flags mask = {AST_FLAGS_ALL,};
+	struct ast_flags mask = {AST_FLAGS_ALL & ~QUEUE_RESET_STATS,};
 	ast_unload_realtime("queue_members");
 	reload_handler(1, &mask, NULL);
 	return 0;
    
    
More information about the asterisk-commits
mailing list