Commit d329031f authored by antirez's avatar antirez
Browse files

Fixed another possible bug in cluster.c found by clang --analyze.

parent 9b810f1c
...@@ -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) {
......
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