aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index 9d716dcb..c2ce9137 100644
--- a/socket.c
+++ b/socket.c
@@ -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;