diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-26 10:46:49 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-27 09:18:51 +0100 |
commit | 642d78026f409cfb5b31affc271a0eb8298e8020 (patch) | |
tree | cb8405e4dd4437e326660b2b96c787b3f2978c30 /lib/ftp.c | |
parent | 32766cb4db0d71b06fe2a2d829e51e3404b65c24 (diff) | |
download | curl-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/ftp.c')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 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, |