dial error: add newline - gopherproxy-c - Gopher HTTP proxy in C (CGI) | |
git clone git://git.codemadness.org/gopherproxy-c | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 37d95c874eab8ad35bd95ad3381405310934cd08 | |
parent dbe80c7d9f93688585348abacbde2cd22c5373a9 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Tue, 14 Aug 2018 14:23:31 +0200 | |
dial error: add newline | |
Diffstat: | |
M gopherproxy.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/gopherproxy.c b/gopherproxy.c | |
@@ -97,7 +97,7 @@ dial(const char *host, const char *port) | |
hints.ai_socktype = SOCK_STREAM; | |
hints.ai_flags = AI_NUMERICSERV; /* numeric port only */ | |
if ((error = getaddrinfo(host, port, &hints, &res0))) | |
- die(500, "%s: %s: %s:%s", __func__, gai_strerror(error), host,… | |
+ die(500, "%s: %s: %s:%s\n", __func__, gai_strerror(error), hos… | |
s = -1; | |
for (res = res0; res; res = res->ai_next) { | |
s = socket(res->ai_family, res->ai_socktype, |