Skip to content
Snippets Groups Projects
Commit b933292b authored by Daniel Salzman's avatar Daniel Salzman
Browse files

kdig: set closed descriptor variable to -1

Coverity scan #1019149

Change-Id: I3beb8efced13d2bf5a5316ae02835739ffa54263
parent 2647f3f6
No related branches found
No related tags found
No related merge requests found
......@@ -431,6 +431,7 @@ void net_close(net_t *net)
}
close(net->sockfd);
net->sockfd = -1;
}
void net_clean(net_t *net)
......
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