mirror of
https://github.com/fluencelabs/redis
synced 2025-03-21 10:00:51 +00:00
Cluster: Initialize ip and port in createClusterNode().
This commit is contained in:
parent
a26690e8b5
commit
9dfd11c3da
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user