diff options
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index b59779b1b..011f1141e 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1170,7 +1170,7 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn, if(!host) { free(req_buffer); free(host_port); - result = CURLE_OUT_OF_MEMORY; + return CURLE_OUT_OF_MEMORY; } } if(!checkheaders(data, "Proxy-Connection:")) |