mirror of
https://github.com/curl/curl.git
synced 2026-08-25 03:43:31 +03:00
- Bug #2218480 (http://curl.haxx.se/bug/view.cgi?id=2218480) pointed out a
problem with my CURLINFO_PRIMARY_IP fix from October 7th that caused a NULL pointer read. I also took the opportunity to clean up this logic (storing of the connection's IP address) somewhat as we had it stored in two different places and ways previously and they are now unified.
This commit is contained in:
parent
efe2ce3647
commit
d0b8b5a199
5 changed files with 46 additions and 60 deletions
|
|
@ -37,8 +37,6 @@ CURLcode Curl_connecthost(struct connectdata *conn,
|
|||
Curl_addrinfo **addr, /* the one we used */
|
||||
bool *connected); /* truly connected? */
|
||||
|
||||
CURLcode Curl_store_ip_addr(struct connectdata *conn);
|
||||
|
||||
/* generic function that returns how much time there's left to run, according
|
||||
to the timeouts set */
|
||||
long Curl_timeleft(struct connectdata *conn,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue