From 6a0aed830c449c1ae88b798235a3bcf2384d90df Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 7 Apr 2013 13:25:02 +0200 Subject: [PATCH] Fix a comment in tcp_connect() --- src/client/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/host.c b/src/client/host.c index 256aa8f52..efa547aa7 100644 --- a/src/client/host.c +++ b/src/client/host.c @@ -86,7 +86,7 @@ tcp_connect(char *host, char *serv) close(sockfd); /* ignore this one */ } while ((res = res->ai_next) != NULL); - if (res == NULL) { /* errno set from final connect() */ + if (res == NULL) { /* errno from final socket() or connect() */ fprintf(stderr, "Can't connect to %s:%s: %s\n", host, serv, strerror(errno)); exit(1); -- 2.43.0