summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/communication.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-21 18:21:46 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-21 18:21:46 +0300
commit713da4848166da0cae6e857a27b3580349e536ef (patch)
treebfe6eab65ce6463e2754ad0c7732fe0f3540ac70 /protocols/FacebookRM/src/communication.cpp
parent01e5902caa74b8712ae014aee917e3403024646c (diff)
code cleaning
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r--protocols/FacebookRM/src/communication.cpp4
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);
}
}