From 29fb30bdf91f5eee7b0ca4d33c131ec06a4db8a3 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 27 Mar 2011 13:58:33 +0000 Subject: [PATCH] In rfc2553_connect_to(), explain getnameinfo() errors differently. --- jbsockets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2