mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:33:37 +03:00
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:
parent
32766cb4db
commit
642d78026f
5 changed files with 4 additions and 11 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue