Commit 1db72571 authored by antirez's avatar antirez
Browse files

Tracking: fix operators precedence error in bcast check.

parent fe96e29d
...@@ -2268,7 +2268,7 @@ NULL ...@@ -2268,7 +2268,7 @@ NULL
} }
if (c->flags & CLIENT_TRACKING) { if (c->flags & CLIENT_TRACKING) {
int oldbcast = !!c->flags & CLIENT_TRACKING_BCAST; int oldbcast = !!(c->flags & CLIENT_TRACKING_BCAST);
if (oldbcast != bcast) { if (oldbcast != bcast) {
addReplyError(c, addReplyError(c,
"You can't switch BCAST mode on/off before disabling " "You can't switch BCAST mode on/off before disabling "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment