summaryrefslogtreecommitdiff
path: root/lib/connect.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-11-05 10:51:41 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-11-05 10:51:41 +0000
commit2cff2518631fc538c127c1e94c47c743e2a64661 (patch)
treeaa0b3b2ff5b198878fc6df6128e5e4910ca7f879 /lib/connect.h
parent73d996bf265b737e289a18635fb0b3e69d8d7403 (diff)
downloadcurl-2cff2518631fc538c127c1e94c47c743e2a64661.tar.gz
Curl_resolv() now returns a different struct, and it contains a reference
counter so that the caller needs to decrease that counter when done with the returned data. If compiled with MALLOCDEBUG I've added some extra checking that the counter is decreased before a handle is closed etc.
Diffstat (limited to 'lib/connect.h')
-rw-r--r--lib/connect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.h b/lib/connect.h
index ceeb9fb4e..fdbecec0c 100644
--- a/lib/connect.h
+++ b/lib/connect.h
@@ -31,7 +31,7 @@ CURLcode Curl_is_connected(struct connectdata *conn,
bool *connected);
CURLcode Curl_connecthost(struct connectdata *conn,
- Curl_addrinfo *host, /* connect to this */
+ struct Curl_dns_entry *host, /* connect to this */
int port, /* connect to this port number */
int *sockconn, /* not set if error is returned */
Curl_ipconnect **addr, /* the one we used */