summaryrefslogtreecommitdiff
path: root/src/core/stdssl
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-16 18:19:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-16 18:19:15 +0300
commitdf51f338983ba85feffcbd2209100c6927dda8a5 (patch)
tree9f81c94034396b4c4e8496661b12b346798808cf /src/core/stdssl
parentc00f494c8165b9f2d9facc6488173502b19ca696 (diff)
Utf8DecodeT/Utf8EncodeT macros considered useless and replaced with Utf8DecodeW/Utf8EncodeW
Diffstat (limited to 'src/core/stdssl')
-rw-r--r--src/core/stdssl/src/netlibssl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdssl/src/netlibssl.cpp b/src/core/stdssl/src/netlibssl.cpp
index ac76c28064..f06947bb8d 100644
--- a/src/core/stdssl/src/netlibssl.cpp
+++ b/src/core/stdssl/src/netlibssl.cpp
@@ -82,7 +82,7 @@ static void ReportSslError(SECURITY_STATUS scRet, int line, bool = false)
wchar_t szMsgBuf2[512];
mir_snwprintf(szMsgBuf2, L"SSL connection failure (%x %u): %s", scRet, line, szMsgBuf);
- char* szMsg = Utf8EncodeT(szMsgBuf2);
+ char* szMsg = Utf8EncodeW(szMsgBuf2);
Netlib_Logf(NULL, szMsg);
mir_free(szMsg);