[asterisk-commits] mmichelson: branch mmichelson/queue-reset r101078 - /team/mmichelson/queue-re...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 29 17:43:24 CST 2008


Author: mmichelson
Date: Tue Jan 29 17:43:23 2008
New Revision: 101078

URL: http://svn.digium.com/view/asterisk?view=rev&rev=101078
Log:
Another use_weight-related change. This actually may not be completely necessary, but
I'm erring on the side of caution here.


Modified:
    team/mmichelson/queue-reset/apps/app_queue.c

Modified: team/mmichelson/queue-reset/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/queue-reset/apps/app_queue.c?view=diff&rev=101078&r1=101077&r2=101078
==============================================================================
--- team/mmichelson/queue-reset/apps/app_queue.c (original)
+++ team/mmichelson/queue-reset/apps/app_queue.c Tue Jan 29 17:43:23 2008
@@ -6326,6 +6326,8 @@
 
 	queues = ao2_container_alloc(MAX_QUEUE_BUCKETS, queue_hash_cb, queue_cmp_cb);
 
+	use_weight = 0;
+
 	if (!reload_handler(0, QUEUE_RELOAD_ALL, NULL))
 		return AST_MODULE_LOAD_DECLINE;
 




More information about the asterisk-commits mailing list