aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-03 07:55:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-03 07:55:51 +0000
commit06c38330ba463a3a4bb343547dd71addb3073fa5 (patch)
tree2dd5e4ae941ba7244fb74e9726b2ad1b26712c8c
parent0f4d042d3e56fefe74a4f07ca5050a1f7efd5515 (diff)
Steve Green fixed Curl_resolv()
-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;
}
}