diff options
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 4d24f1cab..42da3e862 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -908,11 +908,10 @@ struct connectdata { cache entry remains locked. It gets unlocked in Curl_done() */ Curl_addrinfo *ip_addr; - /* 'ip_addr_str' is the ip_addr data as a human readable malloc()ed string. + /* '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. Set with Curl_store_ip_addr() when ip_addr has been - set. */ - char *ip_addr_str; + the ip_addr itself. */ + char ip_addr_str[MAX_IPADR_LEN]; unsigned int scope; /* address scope for IPv6 */ |