diff options
author | michael-grunder <michael.grunder@gmail.com> | 2013-02-25 04:45:11 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2013-02-25 04:45:11 +0400 |
commit | 9954974778b60123ef27e2af9270c2478f9c3743 (patch) | |
tree | f65eba1f71542df7e3993eac36b434eb04871880 /library.c | |
parent | 51264b7834236a6063bb25f2d0ce2eb41bdc8655 (diff) |
Return a proper value
redis_sock_read_multibulk_reply_zipped_with_flag should always return
a value. We merged in a change that handled a certain error condition
that was using RETURN_FALSE (and therefore not returning a value)
Simply changed this to RETVAL_FALSE and return -1;
Diffstat (limited to 'library.c')
-rw-r--r-- | library.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -720,7 +720,7 @@ PHPAPI int redis_sock_read_multibulk_reply_zipped_with_flag(INTERNAL_FUNCTION_PA IF_MULTI_OR_PIPELINE() { add_next_index_bool(z_tab, 0); } else { - RETURN_FALSE; + RETVAL_FALSE; } return -1; } |