curl-library
[PATCH 04/10] parseurlandfillconn: Update info message
From: Till Maas <opensource_at_till.name>
Date: Sat, 15 Mar 2014 19:41:28 +0100
Date: Sat, 15 Mar 2014 19:41:28 +0100
- Use newline
- Use semicolon to separate error message
--- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/url.c b/lib/url.c index 67e2d2b..7a826f9 100644 --- a/lib/url.c +++ b/lib/url.c @@ -3987,7 +3987,7 @@ static CURLcode parseurlandfillconn(struct SessionHandle *data, ifname[square_bracket] = '\0'; scope = if_nametoindex(ifname); if (scope == 0) { - infof(data, "Invalid network interface: %s: %s", ifname, + infof(data, "Invalid network interface: %s; %s\n", ifname, strerror(errno)); } } -- 1.8.3.1 ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-03-15