summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-28 15:51:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-28 15:51:04 +0300
commitac6607c5f76566c2c840ca3955a22448738df9b3 (patch)
treeb697dbe07b88ac8fefb5f00a003c95710b3bbbeb /protocols/ICQ-WIM/src/options.cpp
parente787987f54733bd58f69ced43a506aa7fc42fb7c (diff)
mir_urlDecode & mir_urlEncode to return CMStringA
Diffstat (limited to 'protocols/ICQ-WIM/src/options.cpp')
-rw-r--r--protocols/ICQ-WIM/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/options.cpp b/protocols/ICQ-WIM/src/options.cpp
index 3a9d3be3f1..20261a9585 100644
--- a/protocols/ICQ-WIM/src/options.cpp
+++ b/protocols/ICQ-WIM/src/options.cpp
@@ -140,11 +140,11 @@ void CIcqProto::OnLoginViaPhone(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest *pRe
const JSONNode &data = root.data();
m_szAToken = data["token"]["a"].as_mstring();
- m_szAToken = ptrA(mir_urlDecode(m_szAToken));
+ m_szAToken = mir_urlDecode(m_szAToken);
setString(DB_KEY_ATOKEN, m_szAToken);
m_szSessionKey = data["sessionKey"].as_mstring();
- m_szSessionKey = ptrA(mir_urlDecode(m_szSessionKey));
+ m_szSessionKey = mir_urlDecode(m_szSessionKey);
setString(DB_KEY_SESSIONKEY, m_szSessionKey);
m_dwUin = _wtoi(data["loginId"].as_mstring());