Sitelet https://github.com/phpredis/phpredis/commit/44affad2
Skip to content

Commit 44affad

Browse files
Fix typo/bug in cluster_scan_resp
1 parent b9e27e2 commit 44affad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎cluster_library.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2159,8 +2159,8 @@ PHP_REDIS_API int cluster_scan_resp(INTERNAL_FUNCTION_PARAMETERS, redisCluster *
21592159
}
21602160

21612161
// Read the BULK size
2162-
if (cluster_check_response(c, &c->reply_type),0 ||
2163-
c->reply_type != TYPE_BULK)
2162+
if (cluster_check_response(c, &c->reply_type) ||
2163+
c->reply_type != TYPE_BULK)
21642164
{
21652165
return FAILURE;
21662166
}

0 commit comments

Comments
 (0)