mirror of
https://github.com/fluencelabs/redis
synced 2025-03-16 15:40:49 +00:00
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…
x
Reference in New Issue
Block a user