summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-29 14:23:56 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-29 14:23:56 +0000
commit157801507625921ba1e39988fe54e27a9157daa4 (patch)
tree9bc25f1c227617ecd61854dbdfa22e6bf0d2682f /protocols/SkypeWeb/src/requests
parentd667adb8f13d6e8917c225260631ad6905c3fbcf (diff)
SkypeWeb: Small fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13242 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests')
-rw-r--r--protocols/SkypeWeb/src/requests/trouter.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/requests/trouter.h b/protocols/SkypeWeb/src/requests/trouter.h
index 02f29e84d9..193c4310ce 100644
--- a/protocols/SkypeWeb/src/requests/trouter.h
+++ b/protocols/SkypeWeb/src/requests/trouter.h
@@ -52,22 +52,22 @@ public:
class GetTrouterRequest : public HttpRequest
{
public:
- GetTrouterRequest(const char *socketio, const char *sr, int st, int se, const char *sig,
+ GetTrouterRequest(const char *socketio, const char *sr, const char *st, const char *se, const char *sig,
const char *instance, const char *ccid) :
- HttpRequest(REQUEST_POST, FORMAT, "%ssocket.io/1/", socketio)
+ HttpRequest(REQUEST_GET, FORMAT, "%ssocket.io/1/", socketio)
{
Url
<< CHAR_VALUE("sr", sr)
<< CHAR_VALUE("issuer", "edf")
<< CHAR_VALUE("sp", "connect")
- << INT_VALUE("st", st)
- << INT_VALUE("se", se)
+ << CHAR_VALUE("st", st)
+ << CHAR_VALUE("se", se)
<< CHAR_VALUE("sig", sig)
<< CHAR_VALUE("r", instance)
<< CHAR_VALUE("v", "v2")
<< INT_VALUE("p", 443)
<< CHAR_VALUE("ccid", ccid)
- << CHAR_VALUE("tc", ptrA(mir_urlEncode("{\"cv\":\"2014.8.26\",\"hr\":\"\",\"ua\":\"Miranda_NG\",\"v\":\"\"}")))
+ << CHAR_VALUE("tc", "%7B%22cv%22:%222014.8.26%22,%22hr%22:%22%22,%22ua%22:%22SWX%22,%22v%22:%221.2.273%22%7D")//ptrA(mir_urlEncode("{\"cv\":\"2014.8.26\",\"hr\":\"\",\"ua\":\"Miranda_NG\",\"v\":\"\"}")))
<< INT_VALUE("t", time(NULL)*1000);
Headers