From 72c0315ab37e9ef5ee6b41c37078a6c455da988a Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 24 Aug 2005 19:56:07 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=7473 --- client/net_xfer_curl.C | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/client/net_xfer_curl.C b/client/net_xfer_curl.C index ca553a7bfb..03232ffda6 100644 --- a/client/net_xfer_curl.C +++ b/client/net_xfer_curl.C @@ -317,13 +317,16 @@ void NET_XFER_SET::got_select(FDSET_GROUP&, double timeout) { // BOINC error codes here. nxf->http_op_retval = HTTP_STATUS_INTERNAL_SERVER_ERROR; if (nxf->CurlResult == CURLE_COULDNT_RESOLVE_HOST) { - msg_printf(0, MSG_ERROR, "Can't resolve hostname [%s] %s", nxf->hostname, nxf->strCurlResult); + msg_printf(0, MSG_ERROR, "Couldn't resolve hostname [%s]", nxf->hostname); + nxf->http_op_retval = ERR_GETHOSTBYNAME; + } else if (nxf->CurlResult == CURLE_COULDNT_RESOLVE_PROXY) { + msg_printf(0, MSG_ERROR, "Couldn't resolve proxy [%s]", nxf->hostname); nxf->http_op_retval = ERR_GETHOSTBYNAME; } else if (nxf->CurlResult == CURLE_COULDNT_CONNECT) { - msg_printf(0, MSG_ERROR, "Couldn't connect to hostname [%s] %s", nxf->hostname, nxf->strCurlResult); + msg_printf(0, MSG_ERROR, "Couldn't connect to hostname [%s]", nxf->hostname); nxf->http_op_retval = ERR_IO; } else if (nxf->CurlResult == CURLE_LOGIN_DENIED) { - msg_printf(0, MSG_ERROR, "Proxy Authentication Failed [%s] %s", nxf->hostname, nxf->strCurlResult); + msg_printf(0, MSG_ERROR, "Proxy Authentication Failed [%s]", nxf->hostname); nxf->http_op_retval = HTTP_STATUS_PROXY_AUTH_REQ; } else if (nxf->CurlResult == CURLE_READ_ERROR) { nxf->http_op_retval = ERR_FOPEN;