summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/requests
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-21 13:30:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-21 13:30:53 +0300
commit206f15f700b31dc45c2ad6b7c1ec21142d6a38a5 (patch)
tree035f7a89aeeb3cf07c9d45e495a5ec9fbf3b1d41 /protocols/FacebookRM/src/requests
parentb6330f119c9f253d470dac46b20335811a8e0676 (diff)
warning fix
Diffstat (limited to 'protocols/FacebookRM/src/requests')
-rw-r--r--protocols/FacebookRM/src/requests/history.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/protocols/FacebookRM/src/requests/history.h b/protocols/FacebookRM/src/requests/history.h
index faa146934e..2d8d58b1ea 100644
--- a/protocols/FacebookRM/src/requests/history.h
+++ b/protocols/FacebookRM/src/requests/history.h
@@ -52,9 +52,9 @@ public:
CMStringA begin(::FORMAT, "messages[%s][%s]", type, idEncoded);
Body
- << CMStringA(::FORMAT, "%s[offset]=%i", begin, offset).c_str()
- << CMStringA(::FORMAT, "%s[timestamp]=%s", begin, timestamp).c_str()
- << CMStringA(::FORMAT, "%s[limit]=%i", begin, limit).c_str();
+ << CMStringA(::FORMAT, "%s[offset]=%i", begin.c_str(), offset).c_str()
+ << CMStringA(::FORMAT, "%s[timestamp]=%s", begin.c_str(), timestamp).c_str()
+ << CMStringA(::FORMAT, "%s[limit]=%i", begin.c_str(), limit).c_str();
//}
/*if (loadThreadInfo) {
@@ -106,9 +106,9 @@ public:
CMStringA begin(::FORMAT, "messages[%s][%s]", type, idEncoded);
Body
- << CMStringA(::FORMAT, "%s[offset]=%i", begin, 0).c_str()
- << CMStringA(::FORMAT, "%s[timestamp]=%s", begin, "").c_str()
- << CMStringA(::FORMAT, "%s[limit]=%i", begin, limit).c_str();
+ << CMStringA(::FORMAT, "%s[offset]=%i", begin.c_str(), 0).c_str()
+ << CMStringA(::FORMAT, "%s[timestamp]=%s", begin.c_str(), "").c_str()
+ << CMStringA(::FORMAT, "%s[limit]=%i", begin.c_str(), limit).c_str();
// Load thread info
Body << CMStringA(::FORMAT, "threads[%s][0]=%s", type, idEncoded).c_str();
@@ -133,9 +133,9 @@ public:
// Load messages
CMStringA begin(::FORMAT, "messages[%s][%s]", "thread_fbids", idEncoded);
Body
- << CMStringA(::FORMAT, "%s[offset]=%i", begin, offset).c_str()
- //<< CMStringA(::FORMAT, "%s[timestamp]=%s", begin, "").c_str()
- << CMStringA(::FORMAT, "%s[limit]=%i", begin, limit).c_str();
+ << CMStringA(::FORMAT, "%s[offset]=%i", begin.c_str(), offset).c_str()
+ //<< CMStringA(::FORMAT, "%s[timestamp]=%s", begin.c_str(), "").c_str()
+ << CMStringA(::FORMAT, "%s[limit]=%i", begin.c_str(), limit).c_str();
// Load thread info
Body << CMStringA(::FORMAT, "threads[%s][%i]=%s", "thread_fbids", i, idEncoded).c_str();