Curl_url_set_authority() it is. Follow-up to acd82c8bfd Closes #11035
@@ -769,7 +769,7 @@ static int set_transfer_url(struct Curl_easy *data,
v = curl_pushheader_byname(hp, HTTP_PSEUDO_AUTHORITY);
if(v) {
- uc = curl_url_set_authority(u, v, CURLU_DISALLOW_USER);
+ uc = Curl_url_set_authority(u, v, CURLU_DISALLOW_USER);
if(uc) {
rc = 2;
goto fail;
@@ -28,7 +28,7 @@
size_t Curl_is_absolute_url(const char *url, char *buf, size_t buflen,
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);
#ifdef DEBUGBUILD
@@ -817,7 +817,7 @@ out:
return result;
}
unsigned int flags)
{
CURLUcode result;