Browse Source

urlapi: make internal function start with Curl_

Curl_url_set_authority() it is.

Follow-up to acd82c8bfd

Closes #11035
Daniel Stenberg 1 year ago
parent
commit
b7b1846275
3 changed files with 3 additions and 3 deletions
  1. 1 1
      lib/http2.c
  2. 1 1
      lib/urlapi-int.h
  3. 1 1
      lib/urlapi.c

+ 1 - 1
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;

+ 1 - 1
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

+ 1 - 1
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;