clnt_destroy man page says it will close the socket
This commit is contained in:
1 parent
4436d27abd
commit
2714eb3718
1 file changed
-1
@@ -465,7 +465,6 @@ SIGAR_DECLARE(int) sigar_nfs_ping(char *host)
|
||||
retval = -1;
|
||||
}
|
||||
|
||||
close(sock);
|
||||
clnt_destroy(client);
|
||||
|
||||
return retval;
|
||||
|
||||
Reference in new issue
Block a user