diff options
author | michael-grunder <michael.grunder@gmail.com> | 2013-02-25 05:51:56 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2013-02-25 05:51:56 +0400 |
commit | 703476ce01490157ef6cf0ed0ccde06714d9e81f (patch) | |
tree | 8831af02c6b686d9590b33f4f00e2668680f0439 /library.c | |
parent | 117cc22d75ef1a53bb0f995a8aa24077a0843168 (diff) |
Fix each place we're erroring out but return a value as the
methods are int returns
Resolves issues pertaining to #303
Diffstat (limited to 'library.c')
-rw-r--r-- | library.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1093,7 +1093,7 @@ PHPAPI int redis_sock_read_multibulk_reply(INTERNAL_FUNCTION_PARAMETERS, RedisSo IF_MULTI_OR_PIPELINE() { add_next_index_bool(z_tab, 0); } else { - RETURN_FALSE; + RETVAL_FALSE; } return -1; } @@ -1140,7 +1140,7 @@ PHPAPI int redis_sock_read_multibulk_reply_raw(INTERNAL_FUNCTION_PARAMETERS, Red IF_MULTI_OR_PIPELINE() { add_next_index_bool(z_tab, 0); } else { - RETURN_FALSE; + RETVAL_FALSE; } return -1; } @@ -1219,7 +1219,7 @@ PHPAPI int redis_sock_read_multibulk_reply_assoc(INTERNAL_FUNCTION_PARAMETERS, R IF_MULTI_OR_PIPELINE() { add_next_index_bool(z_tab, 0); } else { - RETURN_FALSE; + RETVAL_FALSE; } return -1; } |