Cluster: Initialize ip and port in createClusterNode().

This commit is contained in:
antirez 2013-02-14 13:01:28 +01:00
parent a26690e8b5
commit 9dfd11c3da

View File

@ -332,6 +332,8 @@ clusterNode *createClusterNode(char *nodename, int flags) {
node->configdigest = NULL;
node->configdigest_ts = 0;
node->link = NULL;
node->ip[0] = '\0';
node->port = 0;
return node;
}