mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:03:31 +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
|
|
@ -700,7 +700,6 @@ void Curl_conninfo_remote(struct Curl_easy *data,
|
|||
errno, Curl_strerror(errno, buffer, sizeof(buffer)));
|
||||
return;
|
||||
}
|
||||
memcpy(conn->ip_addr_str, conn->primary_ip, MAX_IPADR_LEN);
|
||||
#else
|
||||
(void)data;
|
||||
(void)conn;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue