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
4e97c2c7
You need to sign in or sign up before continuing.
Commit
4e97c2c7
authored
Jan 25, 2012
by
antirez
Browse files
Fixed another possible bug in cluster.c found by clang --analyze.
parent
6710ff24
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
4e97c2c7
...
@@ -613,7 +613,7 @@ int clusterProcessPacket(clusterLink *link) {
...
@@ -613,7 +613,7 @@ int clusterProcessPacket(clusterLink *link) {
}
}
}
}
/* Update our info about the node */
/* Update our info about the node */
link
->
node
->
pong_received
=
time
(
NULL
);
if
(
link
->
node
)
link
->
node
->
pong_received
=
time
(
NULL
);
/* Update master/slave info */
/* Update master/slave info */
if
(
sender
)
{
if
(
sender
)
{
...
...
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