diff options
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ int clientPort; */ errno = 0; connect(sock, (struct sockaddr *) &ad, sizeof(ad)); - if (errno != 0); + if (errno != 0) { close(sock); return (FILE *)NULL; |