]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10690: [libblade] Fix for return type that wasn't being detected correctly by...
authorShane Bryldt <astaelan@gmail.com>
Tue, 10 Oct 2017 12:06:11 +0000 (06:06 -0600)
committerShane Bryldt <astaelan@gmail.com>
Tue, 10 Oct 2017 12:06:25 +0000 (06:06 -0600)
libs/libblade/src/blade_mastermgr.c

index 6b146f163067d21dd81222e7b8471c4933a509f6..7264c005587658283fe7bb7fcb279971fd85cb26 100644 (file)
@@ -470,7 +470,7 @@ KS_DECLARE(ks_bool_t) blade_mastermgr_protocol_channel_authorization_verify(blad
 
        bp = (blade_protocol_t *)ks_hash_search(bmmgr->protocols, (void *)protocol, KS_UNLOCKED);
        if (!bp) {
-               ret = KS_STATUS_NOT_FOUND;
+               ret = KS_FALSE;
                goto done;
        }
 
@@ -478,7 +478,7 @@ KS_DECLARE(ks_bool_t) blade_mastermgr_protocol_channel_authorization_verify(blad
 
        bc = blade_protocol_channel_lookup(bp, channel, KS_FALSE);
        if (!bc) {
-               ret = KS_STATUS_NOT_FOUND;
+               ret = KS_FALSE;
                goto done;
        }