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

Skip to content

Commit 8b0f28c

Browse files
committed
Fix warning.
1 parent 2e41237 commit 8b0f28c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

library.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2462,9 +2462,8 @@ redis_read_multibulk_recursive(RedisSock *redis_sock, int elements, int status_s
24622462
TSRMLS_CC) < 0)
24632463
{
24642464
zend_throw_exception_ex(redis_exception_ce, 0 TSRMLS_CC,
2465-
"protocol error, couldn't parse MULTI-BULK response\n",
2466-
reply_type);
2467-
return -1;
2465+
"protocol error, couldn't parse MULTI-BULK response\n");
2466+
return FAILURE;
24682467
}
24692468

24702469
// Switch on our reply-type byte

0 commit comments

Comments
 (0)