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.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@244553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.1
Mark Michelson 16 years ago
parent b8ec0d98c8
commit b2c056fa49

@ -392,6 +392,7 @@ void ast_sched_report(struct sched_context *con, struct ast_str **buf, struct as
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);

Loading…
Cancel
Save