[asterisk-commits] branch 1.2 - r7337 /branches/1.2/apps/app_queue.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Dec 4 18:09:14 CST 2005
Author: russell
Date: Sun Dec 4 18:09:12 2005
New Revision: 7337
URL: http://svn.digium.com/view/asterisk?rev=7337&view=rev
Log:
don't delete dynamic queue members when reloading the static members from a realtime database (issue #5922)
Modified:
branches/1.2/apps/app_queue.c
Modified: branches/1.2/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_queue.c?rev=7337&r1=7336&r2=7337&view=diff
==============================================================================
--- branches/1.2/apps/app_queue.c (original)
+++ branches/1.2/apps/app_queue.c Sun Dec 4 18:09:12 2005
@@ -850,10 +850,11 @@
v = v->next;
}
- /* Temporarily set members dead so we can detect deleted ones. */
+ /* Temporarily set non-dynamic members dead so we can detect deleted ones. */
m = q->members;
while (m) {
- m->dead = 1;
+ if (!m->dynamic)
+ m->dead = 1;
m = m->next;
}
More information about the asterisk-commits
mailing list