summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/FacebookRM/src/login.cpp5
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())