Commit 9dfd11c3 authored by antirez's avatar antirez
Browse files

Cluster: Initialize ip and port in createClusterNode().

parent a26690e8
...@@ -332,6 +332,8 @@ clusterNode *createClusterNode(char *nodename, int flags) { ...@@ -332,6 +332,8 @@ clusterNode *createClusterNode(char *nodename, int flags) {
node->configdigest = NULL; node->configdigest = NULL;
node->configdigest_ts = 0; node->configdigest_ts = 0;
node->link = NULL; node->link = NULL;
node->ip[0] = '\0';
node->port = 0;
return node; return node;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment