summaryrefslogtreecommitdiff
path: root/lib/socks.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-01-31 00:10:35 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-04-25 19:47:16 +0200
commit7de2f9271c68c10ee7057c10741b0406bca6c156 (patch)
tree409facd48bf80fc9576b7b44f44cf469aeaa4c4b /lib/socks.c
parent24d84da0731f680a9b19653a450d4843f190d6b8 (diff)
downloadcurl-7de2f9271c68c10ee7057c10741b0406bca6c156.tar.gz
async resolvers: further cleanups
asyn-ares.c and asyn-thread.c are two separate backends that implement the same (internal) async resolver API for libcurl to use. Backend is specified at build time. The internal resolver API is defined in asyn.h for asynch resolvers.
Diffstat (limited to 'lib/socks.c')
-rw-r--r--lib/socks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socks.c b/lib/socks.c
index 08e4f66f6..5424d54af 100644
--- a/lib/socks.c
+++ b/lib/socks.c
@@ -175,7 +175,7 @@ CURLcode Curl_SOCKS4(const char *proxy_name,
if(rc == CURLRESOLV_PENDING)
/* ignores the return code, but 'dns' remains NULL on failure */
- (void)Curl_wait_for_resolv(conn, &dns);
+ (void)Curl_resolver_wait_resolv(conn, &dns);
/*
* We cannot use 'hostent' as a struct that Curl_resolv() returns. It
@@ -603,7 +603,7 @@ CURLcode Curl_SOCKS5(const char *proxy_name,
if(rc == CURLRESOLV_PENDING) {
/* this requires that we're in "wait for resolve" state */
- code = Curl_wait_for_resolv(conn, &dns);
+ code = Curl_resolver_wait_resolv(conn, &dns);
if(code != CURLE_OK)
return code;
}