mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +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 */
|
||||
if (start < 0) start = strlen+start;
|
||||
if (end < 0) end = strlen+end;
|
||||
if ((start < 0) && (end < 0) && (start > end)) {
|
||||
if (start < 0 && end < 0 && start > end) {
|
||||
addReply(c,shared.czero);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user