[svn-commits] mmichelson: branch 1.6.2 r244555 - in /branches/1.6.2: ./ main/sched.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 3 13:28:19 CST 2010


Author: mmichelson
Date: Wed Feb  3 13:28:16 2010
New Revision: 244555

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

........
  r244547 | mmichelson | 2010-02-03 13:26:53 -0600 (Wed, 03 Feb 2010) | 3 lines
  
  Initialize counters in ast_sched_report so that resulting data is not bogus.
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/main/sched.c

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

Modified: branches/1.6.2/main/sched.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/sched.c?view=diff&rev=244555&r1=244554&r2=244555
==============================================================================
--- branches/1.6.2/main/sched.c (original)
+++ branches/1.6.2/main/sched.c Wed Feb  3 13:28:16 2010
@@ -512,6 +512,7 @@
 	int countlist[cbnames->numassocs + 1];
 	size_t heap_size;
 	
+	memset(countlist, 0, sizeof(countlist));
 	ast_str_set(buf, 0, " Highwater = %d\n schedcnt = %d\n", con->highwater, con->schedcnt);
 
 	ast_mutex_lock(&con->lock);




More information about the svn-commits mailing list