diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-10 13:52:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-10 13:52:02 +0300 |
commit | 99df86f79cb832f7f5c46cbaa316a747c46730e9 (patch) | |
tree | afb109594fe41b6810bc6101cf43619101854dba /protocols/FacebookRM/src | |
parent | fe39dbcf668d36e8480d1beb9b888b44f4628092 (diff) |
no need to print these tons of garbage
Diffstat (limited to 'protocols/FacebookRM/src')
-rw-r--r-- | protocols/FacebookRM/src/login.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. 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()) |