urldata: remove the duplicate 'ip_addr_str' field

... as the numerical IP address is already stored and kept in 'primary_ip'.

Closes #6534
This commit is contained in:
Daniel Stenberg 2021-01-26 10:46:49 +01:00
parent 32766cb4db
commit 642d78026f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 4 additions and 11 deletions

View file

@ -1819,7 +1819,7 @@ static char *control_address(struct connectdata *conn)
if(conn->bits.tunnel_proxy || conn->bits.socksproxy)
return conn->host.name;
#endif
return conn->ip_addr_str;
return conn->primary_ip;
}
static CURLcode ftp_state_pasv_resp(struct Curl_easy *data,