Fixed another possible bug in cluster.c found by clang --analyze.
This commit is contained in:
parent
6710ff24d0
commit
4e97c2c71a
@ -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…
x
Reference in New Issue
Block a user