Skip to content

Commit 37af5ed

Browse files
Use the correct return type for PFADD command
Addresses phpredis#587
1 parent a28c1b0 commit 37af5ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -7363,7 +7363,7 @@ PHP_METHOD(Redis, pfadd) {
73637363

73647364
REDIS_PROCESS_REQUEST(redis_sock, cmd.c, cmd.len);
73657365
IF_ATOMIC() {
7366-
redis_1_response(INTERNAL_FUNCTION_PARAM_PASSTHRU, redis_sock, NULL, NULL);
7366+
redis_long_response(INTERNAL_FUNCTION_PARAM_PASSTHRU, redis_sock, NULL, NULL);
73677367
}
73687368
REDIS_PROCESS_RESPONSE(redis_1_response);
73697369
}

0 commit comments

Comments
 (0)