suppress warning of unclosed fd
This commit is contained in:
@@ -59,7 +59,7 @@ err:
|
|||||||
#endif
|
#endif
|
||||||
if (!ip)
|
if (!ip)
|
||||||
printf("%s: %s\n" , ERROR_STRING, strerror(errno));
|
printf("%s: %s\n" , ERROR_STRING, strerror(errno));
|
||||||
if (sock > 0)
|
if (sock >= 0)
|
||||||
close(sock);
|
close(sock);
|
||||||
|
|
||||||
return ip;
|
return ip;
|
||||||
|
|||||||
Reference in New Issue
Block a user