aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.c
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 /lib/hostip.c
parent0f4d042d3e56fefe74a4f07ca5050a1f7efd5515 (diff)
Steve Green fixed Curl_resolv()
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c2
1 files changed, 2 insertions, 0 deletions
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;
}
}