Cluster: Initialize ip and port in createClusterNode().
This commit is contained in:
parent
4a00f830b9
commit
fe93071f33
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user