summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CryptoPP/src/main.cpp')
-rw-r--r--plugins/CryptoPP/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/CryptoPP/src/main.cpp b/plugins/CryptoPP/src/main.cpp
index 22be7cadba..62a75b02b3 100644
--- a/plugins/CryptoPP/src/main.cpp
+++ b/plugins/CryptoPP/src/main.cpp
@@ -130,8 +130,7 @@ void InitNetlib()
void DeinitNetlib()
{
- if (hNetlibUser)
- CallService(MS_NETLIB_CLOSEHANDLE, (WPARAM)hNetlibUser, 0);
+ Netlib_CloseHandle(hNetlibUser);
}
int Sent_NetLog(const char *fmt, ...)