From 50351222fcb270449c1bc452ea590704ee403416 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 21 Dec 2018 23:35:05 +0300 Subject: Facebook -> sync MHttpRequest --- protocols/FacebookRM/src/search.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols/FacebookRM/src/search.cpp') 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; } -- cgit v1.2.3