Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a45d18

Browse files
committed
Fix copy-paste typo
1 parent 068ce97 commit 8a45d18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cluster_library.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1808,7 +1808,7 @@ PHP_REDIS_API void cluster_type_resp(INTERNAL_FUNCTION_PARAMETERS, redisCluster
18081808
CLUSTER_RETURN_LONG(c, REDIS_HASH);
18091809
} else if (strncmp(c->line_reply, "zset", 4) == 0) {
18101810
CLUSTER_RETURN_LONG(c, REDIS_ZSET);
1811-
} else if (strncmp(c->line_reply, "+stream", 7) == 0) {
1811+
} else if (strncmp(c->line_reply, "stream", 6) == 0) {
18121812
CLUSTER_RETURN_LONG(c, REDIS_STREAM);
18131813
} else {
18141814
CLUSTER_RETURN_LONG(c, REDIS_NOT_FOUND);

0 commit comments

Comments
 (0)