Cluster: Initialize ip and port in createClusterNode().

This commit is contained in:
antirez 2013-02-14 13:01:28 +01:00
parent 4a00f830b9
commit fe93071f33

View File

@ -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;
} }