mirror of
https://github.com/fluencelabs/redis
synced 2025-06-19 04:01:22 +00:00
RDMF: REDIS_OK REDIS_ERR -> C_OK C_ERR.
This commit is contained in:
@ -233,9 +233,9 @@ void sortCommand(client *c) {
|
||||
alpha = 1;
|
||||
} else if (!strcasecmp(c->argv[j]->ptr,"limit") && leftargs >= 2) {
|
||||
if ((getLongFromObjectOrReply(c, c->argv[j+1], &limit_start, NULL)
|
||||
!= REDIS_OK) ||
|
||||
!= C_OK) ||
|
||||
(getLongFromObjectOrReply(c, c->argv[j+2], &limit_count, NULL)
|
||||
!= REDIS_OK))
|
||||
!= C_OK))
|
||||
{
|
||||
syntax_error++;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user