diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-14 13:16:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-14 13:16:56 +0000 |
commit | 37bccc50a3e0fe7fd64915e280cd491edb0bc4c5 (patch) | |
tree | 30f4d0ceb0759a56a55868edbdfb8e01f08975cc /protocols | |
parent | dab7cf669ac8c1cd179889f4b307d1d5497710a7 (diff) |
crash fix for FB
git-svn-id: http://svn.miranda-ng.org/main/trunk@8601 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index ccc575b5c7..f7f3bc7100 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -264,8 +264,7 @@ bool ignore_duplicits(FacebookProto *proto, std::string mid, std::string text) {
std::map<std::string, bool>::iterator it = proto->facy.messages_ignore.find(mid);
if (it != proto->facy.messages_ignore.end()) {
- std::string msg = "????? Ignoring duplicit/sent message\n" + text;
- proto->debugLogA(msg.c_str());
+ proto->debugLogA("????? Ignoring duplicit/sent message\n%s", text.c_str());
it->second = true; // mark to delete it at the end
return true;
|