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

This commit is contained in:
antirez 2012-01-25 16:59:32 +01:00
parent c1450c6701
commit 39ef0b8808

View File

@ -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) {