summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http2.c2
-rw-r--r--lib/urlapi-int.h2
-rw-r--r--lib/urlapi.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 4ce618a5b..cdabb6f6c 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -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;
diff --git a/lib/urlapi-int.h b/lib/urlapi-int.h
index ff9f79907..d6e240aa3 100644
--- a/lib/urlapi-int.h
+++ b/lib/urlapi-int.h
@@ -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
diff --git a/lib/urlapi.c b/lib/urlapi.c
index bdbe6c8a7..192fb165b 100644
--- a/lib/urlapi.c
+++ b/lib/urlapi.c
@@ -817,7 +817,7 @@ out:
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)
{
CURLUcode result;