mirror of
https://github.com/curl/curl.git
synced 2026-08-05 13:36:14 +03:00
url: rename function due to name-clash in Watt-32
Follow-up to 2481dbe5f4 and applies the change the way it was
intended.
This commit is contained in:
parent
92b9624a68
commit
99d3682303
2 changed files with 4 additions and 7 deletions
|
|
@ -519,9 +519,6 @@
|
|||
# ifdef byte
|
||||
# undef byte
|
||||
# endif
|
||||
# ifdef resolve_ip
|
||||
# undef resolve_ip
|
||||
# endif
|
||||
|
||||
# endif /* MSDOS */
|
||||
|
||||
|
|
|
|||
|
|
@ -3503,9 +3503,9 @@ static CURLcode resolve_proxy(struct Curl_easy *data,
|
|||
}
|
||||
#endif
|
||||
|
||||
static CURLcode resolve_ip(struct Curl_easy *data,
|
||||
struct connectdata *conn,
|
||||
bool *async)
|
||||
static CURLcode resolve_host(struct Curl_easy *data,
|
||||
struct connectdata *conn,
|
||||
bool *async)
|
||||
{
|
||||
struct Curl_dns_entry *hostaddr = NULL;
|
||||
struct hostname *connhost;
|
||||
|
|
@ -3571,7 +3571,7 @@ static CURLcode resolve_fresh(struct Curl_easy *data,
|
|||
return resolve_proxy(data, conn, async);
|
||||
#endif
|
||||
|
||||
return resolve_ip(data, conn, async);
|
||||
return resolve_host(data, conn, async);
|
||||
}
|
||||
|
||||
/*************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue