Skip to content
Snippets Groups Projects
Commit 4338236d authored by Jan Hák's avatar Jan Hák Committed by Daniel Salzman
Browse files

kdig: fix empty server in program arguments

parent 8a1476ec
No related branches found
No related tags found
No related merge requests found
Pipeline #92255 passed
...@@ -188,6 +188,7 @@ int net_init(const srv_info_t *local, ...@@ -188,6 +188,7 @@ int net_init(const srv_info_t *local,
// Clean network structure. // Clean network structure.
memset(net, 0, sizeof(*net)); memset(net, 0, sizeof(*net));
net->sockfd = -1;
// Get remote address list. // Get remote address list.
if (get_addr(remote, iptype, socktype, &net->remote_info) != 0) { if (get_addr(remote, iptype, socktype, &net->remote_info) != 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment