diff options
author | George Hazan <ghazan@miranda.im> | 2018-12-21 23:35:05 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-12-21 23:35:05 +0300 |
commit | 50351222fcb270449c1bc452ea590704ee403416 (patch) | |
tree | e1dcebde8130f85b1af334d1eeae19220d459f38 /protocols/FacebookRM/src/search.cpp | |
parent | 87694f0fb5d928952c1480a34cb4eb6e13b80259 (diff) |
Facebook -> sync MHttpRequest
Diffstat (limited to 'protocols/FacebookRM/src/search.cpp')
-rw-r--r-- | protocols/FacebookRM/src/search.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/search.cpp b/protocols/FacebookRM/src/search.cpp index 38293868f1..88add3fa56 100644 --- a/protocols/FacebookRM/src/search.cpp +++ b/protocols/FacebookRM/src/search.cpp @@ -28,13 +28,12 @@ HttpRequest* facebook_client::searchRequest(const char *query, int s, int pn, co HttpRequest* p = new HttpRequest(REQUEST_GET, FORMAT, "%s/search/", mbasicWorks ? FACEBOOK_SERVER_MBASIC : FACEBOOK_SERVER_MOBILE); p->flags |= NLHRF_REDIRECT; - p->Url - << CHAR_PARAM("q", query) + p << CHAR_PARAM("q", query) << INT_PARAM("s", s) << INT_PARAM("pn", pn); if (mir_strlen(ssid) > 0) - p->Url << CHAR_PARAM("ssid", ssid); + p << CHAR_PARAM("ssid", ssid); return p; } |