Curl_resolv() now returns a different struct, and it contains a reference
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Nov 2002 10:51:41 +0000 (10:51 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Nov 2002 10:51:41 +0000 (10:51 +0000)
commit2cff2518631fc538c127c1e94c47c743e2a64661
treeaa0b3b2ff5b198878fc6df6128e5e4910ca7f879
parent73d996bf265b737e289a18635fb0b3e69d8d7403
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.
lib/connect.c
lib/connect.h
lib/ftp.c
lib/hash.c
lib/hash.h
lib/hostip.c
lib/hostip.h
lib/url.c
lib/url.h
lib/urldata.h