[svn-commits] pabelanger: branch 1.6.2 r261233 - in /branches/1.6.2: ./ apps/app_queue.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed May 5 10:59:43 CDT 2010


Author: pabelanger
Date: Wed May  5 10:59:38 2010
New Revision: 261233

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=261233
Log:
Merged revisions 261232 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261232 | pabelanger | 2010-05-05 11:42:07 -0400 (Wed, 05 May 2010) | 10 lines
  
  'queue reset stats' erroneously clears wrapuptime configuration.
  
  Resets each member's lastcall to 0 now.
  
  (closes issue #17262, #16519)
  Reported by: rain
  Patches:
        wrapuptime_reset_fix.diff uploaded by rain (license 327)
  Tested by: rain
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/apps/app_queue.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

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=261233&r1=261232&r2=261233
==============================================================================
--- branches/1.6.2/apps/app_queue.c (original)
+++ branches/1.6.2/apps/app_queue.c Wed May  5 10:59:38 2010
@@ -1246,7 +1246,6 @@
 	q->callscompleted = 0;
 	q->callsabandoned = 0;
 	q->callscompletedinsl = 0;
-	q->wrapuptime = 0;
 	q->talktime = 0;
 
 	if (q->members) {
@@ -1254,6 +1253,7 @@
 		struct ao2_iterator mem_iter = ao2_iterator_init(q->members, 0);
 		while ((mem = ao2_iterator_next(&mem_iter))) {
 			mem->calls = 0;
+			mem->lastcall = 0;
 			ao2_ref(mem, -1);
 		}
 		ao2_iterator_destroy(&mem_iter);




More information about the svn-commits mailing list