diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-06-24 07:43:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-24 07:43:48 +0000 |
commit | c39858aac0584716282dcb097ce9d972b43dbcb2 (patch) | |
tree | d61866d14e3dd56b0337652a7fddec69fb8f4e90 /lib/urldata.h | |
parent | 818aed35e2f7c1602333c0b2ecc0444272966cc7 (diff) |
Source cleanups. The major one being that we now _always_ use a Curl_addrinfo
linked list for name resolved data, even on hosts/systems with only IPv4
stacks as this simplifies a lot of code.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 95aa5fb65..517dc0f3d 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -446,13 +446,9 @@ struct connectdata { #define PROT_SSL (1<<10) /* protocol requires SSL */ /* the particular host we use, in two different ways */ - struct Curl_dns_entry *connect_addr; + struct Curl_dns_entry *dns_entry; + Curl_addrinfo *ip_addr; /* the particular IP we connected to */ -#ifdef ENABLE_IPV6 - struct addrinfo *serv_addr; -#else - struct sockaddr_in serv_addr; -#endif char protostr[16]; /* store the protocol string in this buffer */ struct hostname host; @@ -574,10 +570,6 @@ struct connectdata { struct FTP *ftp; struct FILEPROTO *file; void *telnet; /* private for telnet.c-eyes only */ -#if 0 /* no need for special ones for these: */ - struct LDAP *ldap; - struct DICT *dict; -#endif void *generic; } proto; |