mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Cluster: Initialize ip and port in createClusterNode().
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user