Skip to content

Commit 9954974

Browse files
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;
1 parent 51264b7 commit 9954974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ PHPAPI int redis_sock_read_multibulk_reply_zipped_with_flag(INTERNAL_FUNCTION_PA
720720
IF_MULTI_OR_PIPELINE() {
721721
add_next_index_bool(z_tab, 0);
722722
} else {
723-
RETURN_FALSE;
723+
RETVAL_FALSE;
724724
}
725725
return -1;
726726
}

0 commit comments

Comments
 (0)