mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05: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_ts = 0;
|
||||
node->link = NULL;
|
||||
node->ip[0] = '\0';
|
||||
memset(node->ip,0,sizeof(node->ip));
|
||||
node->port = 0;
|
||||
return node;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user