summaryrefslogtreecommitdiff
path: root/protocols/Steam/src
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/Steam/src
parente787987f54733bd58f69ced43a506aa7fc42fb7c (diff)
mir_urlDecode & mir_urlEncode to return CMStringA
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r--protocols/Steam/src/http_request.h4
-rw-r--r--protocols/Steam/src/stdafx.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/protocols/Steam/src/http_request.h b/protocols/Steam/src/http_request.h
index 3d87defe43..7e8213b87d 100644
--- a/protocols/Steam/src/http_request.h
+++ b/protocols/Steam/src/http_request.h
@@ -80,7 +80,7 @@ public:
HttpUri &operator<<(const CHAR_PARAM &param)
{
- AppendFormat("%s=%s", param.szName, ptrA(mir_urlEncode(param.szValue)));
+ AppendFormat("%s=%s", param.szName, mir_urlEncode(param.szValue).c_str());
return *this;
}
};
@@ -269,7 +269,7 @@ __forceinline FormUrlEncodedContent* operator<<(FormUrlEncodedContent *content,
__forceinline FormUrlEncodedContent* operator<<(FormUrlEncodedContent *content, const CHAR_PARAM &param)
{
- content->AppendFormat("%s=%s", param.szName, ptrA(mir_urlEncode(param.szValue)));
+ content->AppendFormat("%s=%s", param.szName, mir_urlEncode(param.szValue).c_str());
return content;
}
diff --git a/protocols/Steam/src/stdafx.h b/protocols/Steam/src/stdafx.h
index 9eb34490c8..0783ee01e4 100644
--- a/protocols/Steam/src/stdafx.h
+++ b/protocols/Steam/src/stdafx.h
@@ -24,7 +24,6 @@
#include <m_skin.h>
#include <m_clist.h>
#include <m_genmenu.h>
-#include <m_string.h>
#include <m_imgsrvc.h>
#include <m_protocols.h>
#include <m_protosvc.h>