Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
47177c9e
Commit
47177c9e
authored
Feb 14, 2020
by
antirez
Browse files
Tracking: fix operators precedence error in bcast check.
parent
f6e32a83
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
47177c9e
...
...
@@ -2268,7 +2268,7 @@ NULL
}
if
(
c
->
flags
&
CLIENT_TRACKING
)
{
int
oldbcast
=
!!
c
->
flags
&
CLIENT_TRACKING_BCAST
;
int
oldbcast
=
!!
(
c
->
flags
&
CLIENT_TRACKING_BCAST
)
;
if
(
oldbcast
!=
bcast
)
{
addReplyError
(
c
,
"You can't switch BCAST mode on/off before disabling "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment