提交 4e97c2c7 编写于 作者: A antirez

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

上级 6710ff24
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册