aboutsummaryrefslogtreecommitdiff
path: root/lib/vauth/vauth.c
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2019-04-13 22:55:51 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2020-05-14 18:13:27 +0200
commita55c835e6b99f96e595ad11888a2714447998378 (patch)
tree2fe89e663917b6746b8ff3f994a901507400042e /lib/vauth/vauth.c
parent600a8cded447cd7118ed50142c576567c0cf5158 (diff)
curl_multibyte: add to curlx
This will also be needed in the tool and tests. Ref: https://github.com/curl/curl/pull/3758#issuecomment-482197512 Closes https://github.com/curl/curl/pull/3784
Diffstat (limited to 'lib/vauth/vauth.c')
-rw-r--r--lib/vauth/vauth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vauth/vauth.c b/lib/vauth/vauth.c
index a9c5c9c4f..4cb6f8b91 100644
--- a/lib/vauth/vauth.c
+++ b/lib/vauth/vauth.c
@@ -89,7 +89,7 @@ TCHAR *Curl_auth_build_spn(const char *service, const char *host,
}
/* Allocate our TCHAR based SPN */
- tchar_spn = Curl_convert_UTF8_to_tchar(utf8_spn);
+ tchar_spn = curlx_convert_UTF8_to_tchar(utf8_spn);
if(!tchar_spn) {
free(utf8_spn);
@@ -97,7 +97,7 @@ TCHAR *Curl_auth_build_spn(const char *service, const char *host,
}
/* Release the UTF8 variant when operating with Unicode */
- Curl_unicodefree(utf8_spn);
+ curlx_unicodefree(utf8_spn);
/* Return our newly allocated SPN */
return tchar_spn;