[asterisk-commits] irroot: branch irroot/distrotech-customers-1.8 r335974 - /team/irroot/distrot...

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: 335974

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

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

Modified: team/irroot/distrotech-customers-1.8/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-1.8/apps/app_queue.c?view=diff&rev=335974&r1=335973&r2=335974
==============================================================================
--- team/irroot/distrotech-customers-1.8/apps/app_queue.c (original)
+++ team/irroot/distrotech-customers-1.8/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