Skip to content

Commit 5e5fa78

Browse files
Merge branch 'hotfix/fix_return_values'
2 parents 117cc22 + 703476c commit 5e5fa78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ PHPAPI int redis_sock_read_multibulk_reply(INTERNAL_FUNCTION_PARAMETERS, RedisSo
10931093
IF_MULTI_OR_PIPELINE() {
10941094
add_next_index_bool(z_tab, 0);
10951095
} else {
1096-
RETURN_FALSE;
1096+
RETVAL_FALSE;
10971097
}
10981098
return -1;
10991099
}
@@ -1140,7 +1140,7 @@ PHPAPI int redis_sock_read_multibulk_reply_raw(INTERNAL_FUNCTION_PARAMETERS, Red
11401140
IF_MULTI_OR_PIPELINE() {
11411141
add_next_index_bool(z_tab, 0);
11421142
} else {
1143-
RETURN_FALSE;
1143+
RETVAL_FALSE;
11441144
}
11451145
return -1;
11461146
}
@@ -1219,7 +1219,7 @@ PHPAPI int redis_sock_read_multibulk_reply_assoc(INTERNAL_FUNCTION_PARAMETERS, R
12191219
IF_MULTI_OR_PIPELINE() {
12201220
add_next_index_bool(z_tab, 0);
12211221
} else {
1222-
RETURN_FALSE;
1222+
RETVAL_FALSE;
12231223
}
12241224
return -1;
12251225
}

0 commit comments

Comments
 (0)