[asterisk-commits] rmudgett: branch rmudgett/bridge_tasks r383517 - /team/rmudgett/bridge_tasks/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 21 11:48:19 CDT 2013


Author: rmudgett
Date: Thu Mar 21 11:48:17 2013
New Revision: 383517

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=383517
Log:
Put some sense into that test.

Modified:
    team/rmudgett/bridge_tasks/main/bridging.c

Modified: team/rmudgett/bridge_tasks/main/bridging.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/bridge_tasks/main/bridging.c?view=diff&rev=383517&r1=383516&r2=383517
==============================================================================
--- team/rmudgett/bridge_tasks/main/bridging.c (original)
+++ team/rmudgett/bridge_tasks/main/bridging.c Thu Mar 21 11:48:17 2013
@@ -2852,7 +2852,7 @@
 	/* Initialize the interval hook heap */
 	features->interval_hooks = ast_heap_create(8, interval_hook_time_cmp,
 		offsetof(struct ast_bridge_hook, parms.timer.heap_index));
-	if (features->interval_hooks) {
+	if (!features->interval_hooks) {
 		return -1;
 	}
 




More information about the asterisk-commits mailing list