From 37bccc50a3e0fe7fd64915e280cd491edb0bc4c5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 14 Mar 2014 13:16:56 +0000 Subject: crash fix for FB git-svn-id: http://svn.miranda-ng.org/main/trunk@8601 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/json.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/FacebookRM') 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::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; -- cgit v1.2.3