[asterisk-commits] rmudgett: trunk r379128 - /trunk/main/bridging.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 15 16:23:54 CST 2013


Author: rmudgett
Date: Tue Jan 15 16:23:49 2013
New Revision: 379128

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=379128
Log:
Fix ast_bridge_features_register() not registering builtin features. I broke. Ooops.

Modified:
    trunk/main/bridging.c

Modified: trunk/main/bridging.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/bridging.c?view=diff&rev=379128&r1=379127&r2=379128
==============================================================================
--- trunk/main/bridging.c (original)
+++ trunk/main/bridging.c Tue Jan 15 16:23:49 2013
@@ -1341,7 +1341,7 @@
 int ast_bridge_features_register(enum ast_bridge_builtin_feature feature, ast_bridge_features_hook_callback callback, const char *dtmf)
 {
 	if (ARRAY_LEN(builtin_features_handlers) <= feature
-		|| !builtin_features_handlers[feature]) {
+		|| builtin_features_handlers[feature]) {
 		return -1;
 	}
 




More information about the asterisk-commits mailing list