summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-07 13:25:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-07 13:25:07 +0300
commite6edc1ba036f66f07878779d4d7a973c80d30efb (patch)
treec310656e2e9aaa4811e264ef2f811e79b5f582e4 /protocols/ICQ-WIM
parenta9fbe9a81a6777b4b358d93116ee15f9f07dfb6e (diff)
hopefully last custom UrlDecode implementation removed
Diffstat (limited to 'protocols/ICQ-WIM')
-rw-r--r--protocols/ICQ-WIM/src/options.cpp2
-rw-r--r--protocols/ICQ-WIM/src/server.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/options.cpp b/protocols/ICQ-WIM/src/options.cpp
index 000cf891c1..68b3ea8520 100644
--- a/protocols/ICQ-WIM/src/options.cpp
+++ b/protocols/ICQ-WIM/src/options.cpp
@@ -140,7 +140,7 @@ void CIcqProto::OnLoginViaPhone(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest *pRe
const JSONNode &data = root.data();
m_szAToken = data["token"]["a"].as_mstring();
- m_szAToken = mir_urlDecode(m_szAToken);
+ mir_urlDecode(m_szAToken.GetBuffer());
setString(DB_KEY_ATOKEN, m_szAToken);
m_szSessionKey = data["sessionKey"].as_mstring();
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp
index 06a2f12d33..3a5004addf 100644
--- a/protocols/ICQ-WIM/src/server.cpp
+++ b/protocols/ICQ-WIM/src/server.cpp
@@ -594,7 +594,7 @@ void CIcqProto::OnCheckPassword(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest*)
JSONNode &data = root.data();
m_szAToken = data["token"]["a"].as_mstring();
- m_szAToken = mir_urlDecode(m_szAToken);
+ mir_urlDecode(m_szAToken.GetBuffer());
setString(DB_KEY_ATOKEN, m_szAToken);
CMStringA szSessionSecret = data["sessionSecret"].as_mstring();