mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
Cluster: make valgrind happy initializing all the bytes of the node IP.
This commit is contained in:
parent
7371d5e248
commit
6b9c661838
@ -333,7 +333,7 @@ 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';
|
memset(node->ip,0,sizeof(node->ip));
|
||||||
node->port = 0;
|
node->port = 0;
|
||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user