diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-11-05 10:51:41 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-11-05 10:51:41 +0000 |
commit | 2cff2518631fc538c127c1e94c47c743e2a64661 (patch) | |
tree | aa0b3b2ff5b198878fc6df6128e5e4910ca7f879 /lib/connect.h | |
parent | 73d996bf265b737e289a18635fb0b3e69d8d7403 (diff) | |
download | curl-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.h | 2 |
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 */ |