summaryrefslogtreecommitdiff
path: root/lib/socks_sspi.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/socks_sspi.c
parent600a8cded447cd7118ed50142c576567c0cf5158 (diff)
downloadcurl-a55c835e6b99f96e595ad11888a2714447998378.tar.gz
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/socks_sspi.c')
-rw-r--r--lib/socks_sspi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socks_sspi.c b/lib/socks_sspi.c
index d5be64a3c..2173072fd 100644
--- a/lib/socks_sspi.c
+++ b/lib/socks_sspi.c
@@ -160,7 +160,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
for(;;) {
TCHAR *sname;
- sname = Curl_convert_UTF8_to_tchar(service_name);
+ sname = curlx_convert_UTF8_to_tchar(service_name);
if(!sname)
return CURLE_OUT_OF_MEMORY;
@@ -180,7 +180,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
&sspi_ret_flags,
&expiry);
- Curl_unicodefree(sname);
+ curlx_unicodefree(sname);
if(sspi_recv_token.pvBuffer) {
s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer);