From 99df86f79cb832f7f5c46cbaa316a747c46730e9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Jan 2018 13:52:02 +0300 Subject: no need to print these tons of garbage --- protocols/FacebookRM/src/login.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src') diff --git a/protocols/FacebookRM/src/login.cpp b/protocols/FacebookRM/src/login.cpp index 694bd5dc24..6f2e07719f 100644 --- a/protocols/FacebookRM/src/login.cpp +++ b/protocols/FacebookRM/src/login.cpp @@ -28,6 +28,7 @@ along with this program. If not, see . HttpRequest* facebook_client::loginRequest() { HttpRequest *p = new HttpRequest(REQUEST_POST, FACEBOOK_SERVER_LOGIN "/login.php"); + p->flags |= NLHRF_NODUMP; p->Url << INT_PARAM("login_attempt", 1); return p; } @@ -35,7 +36,7 @@ HttpRequest* facebook_client::loginRequest() HttpRequest* facebook_client::loginRequest(const char *username, const char *password, const char *urlData, const char *bodyData) { HttpRequest *p = new HttpRequest(REQUEST_POST, FACEBOOK_SERVER_LOGIN "/login.php"); - + p->flags |= NLHRF_NODUMP; p->Persistent = p->NONE; p->Url @@ -108,7 +109,7 @@ HttpRequest* facebook_client::logoutRequest() { HttpRequest *p = new HttpRequest(REQUEST_POST, FACEBOOK_SERVER_REGULAR "/logout.php"); - p->flags |= NLHRF_REDIRECT; + p->flags |= NLHRF_REDIRECT | NLHRF_NODUMP; p->Body << CHAR_PARAM("fb_dtsg", dtsg_.c_str()) -- cgit v1.2.3