mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Remove additional round brackets from fix for #3282.
This commit is contained in:
parent
ca54335f40
commit
eb45e11496
@ -775,7 +775,7 @@ void bitcountCommand(client *c) {
|
|||||||
/* Convert negative indexes */
|
/* Convert negative indexes */
|
||||||
if (start < 0) start = strlen+start;
|
if (start < 0) start = strlen+start;
|
||||||
if (end < 0) end = strlen+end;
|
if (end < 0) end = strlen+end;
|
||||||
if ((start < 0) && (end < 0) && (start > end)) {
|
if (start < 0 && end < 0 && start > end) {
|
||||||
addReply(c,shared.czero);
|
addReply(c,shared.czero);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user