summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-26 10:46:49 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-27 09:18:51 +0100
commit642d78026f409cfb5b31affc271a0eb8298e8020 (patch)
treecb8405e4dd4437e326660b2b96c787b3f2978c30 /lib/urldata.h
parent32766cb4db0d71b06fe2a2d829e51e3404b65c24 (diff)
downloadcurl-642d78026f409cfb5b31affc271a0eb8298e8020.tar.gz
urldata: remove the duplicate 'ip_addr_str' field
... as the numerical IP address is already stored and kept in 'primary_ip'. Closes #6534
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 95ef175a1..3ab06feea 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -939,11 +939,6 @@ struct connectdata {
struct Curl_addrinfo *ip_addr;
struct Curl_addrinfo *tempaddr[2]; /* for happy eyeballs */
- /* 'ip_addr_str' is the ip_addr data as a human readable string.
- It remains available as long as the connection does, which is longer than
- the ip_addr itself. */
- char ip_addr_str[MAX_IPADR_LEN];
-
unsigned int scope_id; /* Scope id for IPv6 */
enum {