X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/6710ff24d067d56b6b8d768532a6a7d3c4bc7a80..fcdeb98568708b8d9ef1415aaeef75ee5fe488f2:/src/cluster.c?ds=sidebyside diff --git a/src/cluster.c b/src/cluster.c index 2b3ebe4d..85cb1198 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -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) {