diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-09 11:23:45 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-09 11:23:45 +0300 |
commit | 4cdd4f85ebe39389b7f45d6da8c39a368259b866 (patch) | |
tree | afe20ee1b4d37e72f9a527db738d6b19693957dc /protocols/CurrencyRates/src/HTTPSession.cpp | |
parent | 354f557eb6cfcaf4010161032c6da27d253e71ad (diff) |
CurrencyRates: all settings migrated to CMOption<>
Diffstat (limited to 'protocols/CurrencyRates/src/HTTPSession.cpp')
-rw-r--r-- | protocols/CurrencyRates/src/HTTPSession.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/CurrencyRates/src/HTTPSession.cpp b/protocols/CurrencyRates/src/HTTPSession.cpp index 62fdce7fd4..2843814b71 100644 --- a/protocols/CurrencyRates/src/HTTPSession.cpp +++ b/protocols/CurrencyRates/src/HTTPSession.cpp @@ -56,8 +56,7 @@ bool CHTTPSession::Init() { assert(nullptr == g_hNetLib); - ptrA szApiKey(g_plugin.getStringA(DB_KEY_ApiKey)); - if (mir_strlen(szApiKey) == 0 && g_pCurrentProvider->HasAuth()) + if (mir_wstrlen(g_plugin.wszApiKey) == 0 && g_pCurrentProvider->HasAuth()) Miranda_WaitOnHandle(waitStub); NETLIBUSER nlu = {}; |