summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/communication.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-12-01 13:32:30 +0000
committerRobert Pösel <robyer@seznam.cz>2014-12-01 13:32:30 +0000
commit927bc2d0f988d32505b35ed8c793211a17c36c94 (patch)
tree1b712d08dbcb06b80d0efbb8e9bdf3b792a753a8 /protocols/FacebookRM/src/communication.cpp
parent517ae1ee54bf233329ac3fc756458e62b6641a4c (diff)
Facebook: Fix few potential crashes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11196 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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 c2eec7c6ee..b654b3a261 100644
--- a/protocols/FacebookRM/src/communication.cpp
+++ b/protocols/FacebookRM/src/communication.cpp
@@ -1128,7 +1128,7 @@ bool facebook_client::reconnect()
//parent->debugLogA(" Got self retry_interval: %s", retry_interval.c_str());
//std::string visibility = utils::text::source_get_value2(&resp.data, "\"visibility\":", ",}");
- //parent->debugLogA(" Got self visibility: %s", visibility);
+ //parent->debugLogA(" Got self visibility: %s", visibility.c_str());
return handle_success("reconnect");
}
@@ -1384,7 +1384,7 @@ int facebook_client::send_message(MCONTACT hContact, const std::string &message_
}
default: // Other error
- parent->debugLogA(" !!! Send message error #%d: %s", resp.error_number, resp.error_text);
+ parent->debugLogA(" !!! Send message error #%d: %s", resp.error_number, resp.error_text.c_str());
return SEND_MESSAGE_ERROR;
}