mirror of https://mirror.osredm.com/root/redis.git
Fixed another possible bug in cluster.c found by clang --analyze.
This commit is contained in:
parent
9b810f1cde
commit
d329031fad
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue