From: Fabian Keil Date: Sun, 27 Mar 2011 13:58:33 +0000 (+0000) Subject: In rfc2553_connect_to(), explain getnameinfo() errors differently. X-Git-Tag: v_3_0_18~281 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=29fb30bdf91f5eee7b0ca4d33c131ec06a4db8a3 In rfc2553_connect_to(), explain getnameinfo() errors differently. --- diff --git a/jbsockets.c b/jbsockets.c index ef988548..a75641dc 100644 --- a/jbsockets.c +++ b/jbsockets.c @@ -1,4 +1,4 @@ -const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.91 2011/03/27 13:57:28 fabiankeil Exp $"; +const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.92 2011/03/27 13:57:41 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $ @@ -249,7 +249,7 @@ static jb_socket rfc2553_connect_to(const char *host, int portnum, struct client if (retval) { log_error(LOG_LEVEL_ERROR, - "Can not save csp->http->host_ip_addr_str: %s", + "Failed to get the host name from the socket structure: %s", gai_strerror(retval)); continue; }