aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-10 13:44:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-10 13:44:42 +0000
commite8109b09b117749dc9b7e2ab7d51bd100e254d7e (patch)
tree4db0ba1cf29ce633dae02851065de8a4f594064a /lib/http.c
parent536ea60d73cd407b076c36bb0dbf72c37a586b0e (diff)
error code cleanup, use the new SEND/RECV errors
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c
index da3815269..9e0275f70 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -392,7 +392,7 @@ CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn,
} /* while there's buffer left and loop is requested */
if(error)
- return CURLE_READ_ERROR;
+ return CURLE_RECV_ERROR;
if(200 != httperror) {
if(407 == httperror)
@@ -400,7 +400,7 @@ CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn,
failf(data, "Proxy requires authorization!");
else
failf(data, "Received error code %d from proxy", httperror);
- return CURLE_READ_ERROR;
+ return CURLE_RECV_ERROR;
}
infof (data, "Proxy replied to CONNECT request\n");