diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-12-03 07:55:51 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-12-03 07:55:51 +0000 |
commit | 06c38330ba463a3a4bb343547dd71addb3073fa5 (patch) | |
tree | 2dd5e4ae941ba7244fb74e9726b2ad1b26712c8c | |
parent | 0f4d042d3e56fefe74a4f07ca5050a1f7efd5515 (diff) |
Steve Green fixed Curl_resolv()
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | lib/hostip.c | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -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; } } |