aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--lib/hostip.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 91e227f2d..7e281d4a4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -8,6 +8,9 @@
Daniel (3 December)
+- Steve Green fixed a return code bug in Curl_resolv(), that made the socks5
+ code fail.
+
- swalkaus at yahoo.com patched libcurl to ignore Content-Length: headers
when Tranfer-Encoding: chunked is used, as mandated by RFC2616.
diff --git a/lib/hostip.c b/lib/hostip.c
index 3e5429b70..114525c3d 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -352,6 +352,8 @@ int Curl_resolv(struct connectdata *conn,
/* returned failure, bail out nicely */
Curl_freeaddrinfo(addr);
}
+ else
+ rc = 0;
}
}