diff options
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index f9d5b1f5af..7f5a0737e4 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -496,7 +496,7 @@ bool facebook_client::login(const char *username, const char *password) std::string nh = utils::text::source_get_value(&resp.data, 3, "name=\"nh\"", "value=\"", "\""); HttpRequest *request = setupMachineRequest(fb_dtsg.c_str(), nh.c_str(), "Continue"); - request->Body << "&name_action_selected=save_device"; // Save device - or "dont_save" + request->Body << CHAR_PARAM("name_action_selected", "save_device"); // Save device - or "dont_save" resp = sendRequest(request); } @@ -545,7 +545,7 @@ bool facebook_client::login(const char *username, const char *password) nh = utils::text::source_get_value(&resp.data, 3, "name=\"nh\"", "value=\"", "\""); HttpRequest *request = setupMachineRequest(fb_dtsg.c_str(), nh.c_str(), "Continue"); - request->Body << "&name_action_selected=save_device"; // Save device - or "dont_save" + request->Body << CHAR_PARAM("name_action_selected", "save_device"); // Save device - or "dont_save" resp = sendRequest(request); } } |