From b3a7e862ffce87753dee9836bf287981644b28cd Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 1 Nov 1996 18:18:37 +0000 Subject: Typo fix. svn path=/trunk/; revision=467 --- socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3