[asterisk-commits] irroot: branch irroot/distrotech-customers-trunk r335973 - /team/irroot/distr...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 15 02:05:04 CDT 2011


Author: irroot
Date: Thu Sep 15 02:05:02 2011
New Revision: 335973

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=335973
Log:
Typo when adding lock back in show queues

Modified:
    team/irroot/distrotech-customers-trunk/apps/app_queue.c

Modified: team/irroot/distrotech-customers-trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-trunk/apps/app_queue.c?view=diff&rev=335973&r1=335972&r2=335973
==============================================================================
--- team/irroot/distrotech-customers-trunk/apps/app_queue.c (original)
+++ team/irroot/distrotech-customers-trunk/apps/app_queue.c Thu Sep 15 02:05:02 2011
@@ -7222,7 +7222,7 @@
 		queue_t_unref(q, "Done with iterator"); /* Unref the iterator's reference */
 	}
 	ao2_iterator_destroy(&queue_iter);
-	ao2_lock(queues);
+	ao2_unlock(queues);
 	if (!found) {
 		if (argc == 3)
 			ast_str_set(&out, 0, "No such queue: %s.", argv[2]);




More information about the asterisk-commits mailing list