Commit 4e97c2c7 authored by antirez's avatar antirez
Browse files

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

parent 6710ff24
......@@ -613,7 +613,7 @@ int clusterProcessPacket(clusterLink *link) {
}
}
/* 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 */
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