[asterisk-commits] mmichelson: branch 1.6.1 r244553 - in /branches/1.6.1: ./ main/sched.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 3 13:27:58 CST 2010


Author: mmichelson
Date: Wed Feb  3 13:27:54 2010
New Revision: 244553

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=244553
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.1/   (props changed)
    branches/1.6.1/main/sched.c

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

Modified: branches/1.6.1/main/sched.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/main/sched.c?view=diff&rev=244553&r1=244552&r2=244553
==============================================================================
--- branches/1.6.1/main/sched.c (original)
+++ branches/1.6.1/main/sched.c Wed Feb  3 13:27:54 2010
@@ -392,6 +392,7 @@
 	struct sched *cur;
 	int countlist[cbnames->numassocs + 1];
 	
+	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 asterisk-commits mailing list