Fix ast_bridge_features_register() not registering builtin features. I broke. Ooops.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 15 Jan 2013 22:23:49 +0000 (22:23 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 15 Jan 2013 22:23:49 +0000 (22:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379128 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/bridging.c

index c331ee1..057a442 100644 (file)
@@ -1341,7 +1341,7 @@ void ast_bridge_technology_unsuspend(struct ast_bridge_technology *technology)
 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;
        }