提交 0078f402 authored 作者: Shane Bryldt's avatar Shane Bryldt

FS-10690: [libblade] Fix for return type that wasn't being detected correctly by compilers

上级 fd061fc2
...@@ -470,7 +470,7 @@ KS_DECLARE(ks_bool_t) blade_mastermgr_protocol_channel_authorization_verify(blad ...@@ -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); bp = (blade_protocol_t *)ks_hash_search(bmmgr->protocols, (void *)protocol, KS_UNLOCKED);
if (!bp) { if (!bp) {
ret = KS_STATUS_NOT_FOUND; ret = KS_FALSE;
goto done; goto done;
} }
...@@ -478,7 +478,7 @@ KS_DECLARE(ks_bool_t) blade_mastermgr_protocol_channel_authorization_verify(blad ...@@ -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); bc = blade_protocol_channel_lookup(bp, channel, KS_FALSE);
if (!bc) { if (!bc) {
ret = KS_STATUS_NOT_FOUND; ret = KS_FALSE;
goto done; goto done;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论