urlapi: make internal function start with Curl_
Curl_url_set_authority() it is.
Follow-up to acd82c8bfd
Closes #11035
This commit is contained in:
Родитель
ca3f6decb9
Коммит
b7b1846275
|
@ -769,7 +769,7 @@ static int set_transfer_url(struct Curl_easy *data,
|
||||||
|
|
||||||
v = curl_pushheader_byname(hp, HTTP_PSEUDO_AUTHORITY);
|
v = curl_pushheader_byname(hp, HTTP_PSEUDO_AUTHORITY);
|
||||||
if(v) {
|
if(v) {
|
||||||
uc = curl_url_set_authority(u, v, CURLU_DISALLOW_USER);
|
uc = Curl_url_set_authority(u, v, CURLU_DISALLOW_USER);
|
||||||
if(uc) {
|
if(uc) {
|
||||||
rc = 2;
|
rc = 2;
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
size_t Curl_is_absolute_url(const char *url, char *buf, size_t buflen,
|
size_t Curl_is_absolute_url(const char *url, char *buf, size_t buflen,
|
||||||
bool guess_scheme);
|
bool guess_scheme);
|
||||||
|
|
||||||
CURLUcode curl_url_set_authority(CURLU *u, const char *authority,
|
CURLUcode Curl_url_set_authority(CURLU *u, const char *authority,
|
||||||
unsigned int flags);
|
unsigned int flags);
|
||||||
|
|
||||||
#ifdef DEBUGBUILD
|
#ifdef DEBUGBUILD
|
||||||
|
|
|
@ -817,7 +817,7 @@ out:
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
CURLUcode curl_url_set_authority(CURLU *u, const char *authority,
|
CURLUcode Curl_url_set_authority(CURLU *u, const char *authority,
|
||||||
unsigned int flags)
|
unsigned int flags)
|
||||||
{
|
{
|
||||||
CURLUcode result;
|
CURLUcode result;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче