Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2018-10-18 19:47:10 +0300
committerMichael Grunder <michael.grunder@gmail.com>2018-10-19 17:12:08 +0300
commit0b97ec3739d99f0778ff827cb58c011b92d27a74 (patch)
treeb4892b7d5f37a6f8b2dfde4eaf6348e38ad694e8 /redis.c
parent7e3362c7ff646177c4f423b697ee088b6f4b3ba6 (diff)
Update STREAM API to handle STATUS -> BULK reply change
Right before Redis 5.0 was released, the api was changed to send message ids as BULK instead of STATUS replies.
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis.c b/redis.c
index b8244718..2718997c 100644
--- a/redis.c
+++ b/redis.c
@@ -3592,7 +3592,7 @@ PHP_METHOD(Redis, xack) {
}
PHP_METHOD(Redis, xadd) {
- REDIS_PROCESS_CMD(xadd, redis_single_line_reply);
+ REDIS_PROCESS_CMD(xadd, redis_read_variant_reply);
}
PHP_METHOD(Redis, xclaim) {