Properly update membercount for reloaded members
authorTerry Wilson <twilson@digium.com>
Tue, 25 Oct 2011 19:54:17 +0000 (19:54 +0000)
committerTerry Wilson <twilson@digium.com>
Tue, 25 Oct 2011 19:54:17 +0000 (19:54 +0000)
commit5749ef5be87eaaa38208a31f8e486d4ae9127eb3
treec9c3878f8aebbf8044dc78e20efbbeb6d5d2cb12
parent3551bfcbbc55855df83da83346ff19371ce63f6b
Properly update membercount for reloaded members

Since q->membercount is set to 0 before reloading, it is important
to increment it again for reloaded members as well as added.

(closes issue AST-676)

Review: https://reviewboard.asterisk.org/r/1541/
........

Merged revisions 342380 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 342381 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@342382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c