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:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2019-05-11 13:10:20 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2019-05-11 13:10:20 +0300
commit8a45d18c383647e573d5fd2b3617eb402a6bb6a5 (patch)
tree3a9eedecb6608272ae6df3e99db338817dc5c238 /cluster_library.c
parent068ce978e1e0f8c9fd3665da15917acb0d4155ee (diff)
Fix copy-paste typo
Diffstat (limited to 'cluster_library.c')
-rw-r--r--cluster_library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cluster_library.c b/cluster_library.c
index 364f7d4b..7dd104f5 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -1808,7 +1808,7 @@ PHP_REDIS_API void cluster_type_resp(INTERNAL_FUNCTION_PARAMETERS, redisCluster
CLUSTER_RETURN_LONG(c, REDIS_HASH);
} else if (strncmp(c->line_reply, "zset", 4) == 0) {
CLUSTER_RETURN_LONG(c, REDIS_ZSET);
- } else if (strncmp(c->line_reply, "+stream", 7) == 0) {
+ } else if (strncmp(c->line_reply, "stream", 6) == 0) {
CLUSTER_RETURN_LONG(c, REDIS_STREAM);
} else {
CLUSTER_RETURN_LONG(c, REDIS_NOT_FOUND);