[asterisk-commits] mmichelson: branch mmichelson/queue_refcount_trunk r83315 - /team/mmichelson/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 20 15:52:17 CDT 2007


Author: mmichelson
Date: Thu Sep 20 15:52:17 2007
New Revision: 83315

URL: http://svn.digium.com/view/asterisk?view=rev&rev=83315
Log:
Final change to queue_refcount_trunk. I believe this is ready for merging into trunk.
Going to be fixing broken automerge and merging into trunk soon


Modified:
    team/mmichelson/queue_refcount_trunk/apps/app_queue.c

Modified: team/mmichelson/queue_refcount_trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/queue_refcount_trunk/apps/app_queue.c?view=diff&rev=83315&r1=83314&r2=83315
==============================================================================
--- team/mmichelson/queue_refcount_trunk/apps/app_queue.c (original)
+++ team/mmichelson/queue_refcount_trunk/apps/app_queue.c Thu Sep 20 15:52:17 2007
@@ -4126,7 +4126,7 @@
 				if (q->found) {
 					ast_log(LOG_WARNING, "Queue '%s' already defined! Skipping!\n", cat);
 					if(!new)
-						ast_mutex_unlock(&q->lock);
+						ao2_unlock(q);
 					continue;
 				}
 				/* Re-initialize the queue, and clear statistics */




More information about the asterisk-commits mailing list