summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/http_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/http_request.h')
-rw-r--r--protocols/Steam/src/http_request.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/protocols/Steam/src/http_request.h b/protocols/Steam/src/http_request.h
index a065fec60e..f69b524c8a 100644
--- a/protocols/Steam/src/http_request.h
+++ b/protocols/Steam/src/http_request.h
@@ -129,20 +129,28 @@ public:
m_szUrl.AppendFormat("&%s=%s", szName, szValue);
}
- void AddParameter(LPCSTR szName, int value)
+ /*void AddParameter(LPCSTR szName, int value)
{
if (m_szUrl.Find('?') == -1)
m_szUrl.AppendFormat("?%s=%i", szName, value);
else
m_szUrl.AppendFormat("&%s=%i", szName, value);
- }
+ }*/
- void AddParameter(LPCSTR szName, UINT64 value)
+ /*void AddParameter(LPCSTR szName, UINT64 value)
{
if (m_szUrl.Find('?') == -1)
m_szUrl.AppendFormat("?%s=%llu", szName, value);
else
m_szUrl.AppendFormat("&%s=%llu", szName, value);
+ }*/
+
+ void AddParameter(LPCSTR szValue)
+ {
+ if (m_szUrl.Find('?') == -1)
+ m_szUrl.AppendFormat("?%s", szValue);
+ else
+ m_szUrl.AppendFormat("&%s", szValue);
}
NETLIBHTTPREQUEST *Send()