summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_chat.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-21 18:08:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-21 18:08:38 +0300
commit03ba85dcd2d47cf31d6181b40620e278f7f30427 (patch)
treeb094d6ec3070821a67455d4812d7776888eac803 /protocols/MSN/src/msn_chat.cpp
parentd15ac078344461faee80f676b49d2194387b9862 (diff)
more warnings fixed
Diffstat (limited to 'protocols/MSN/src/msn_chat.cpp')
-rw-r--r--protocols/MSN/src/msn_chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_chat.cpp b/protocols/MSN/src/msn_chat.cpp
index 605577750c..f46ca005ca 100644
--- a/protocols/MSN/src/msn_chat.cpp
+++ b/protocols/MSN/src/msn_chat.cpp
@@ -258,7 +258,7 @@ void CMsnProto::MSN_GCRefreshThreadsInfo(void)
}
}
if (nThreads)
- msnNsThread->sendPacketPayload("GET", "MSGR\\THREADS", "<threads>%s</threads>", buf);
+ msnNsThread->sendPacketPayload("GET", "MSGR\\THREADS", "<threads>%s</threads>", buf.c_str());
}
void CMsnProto::MSN_GCAddMessage(wchar_t *mChatID, MCONTACT hContact, char *email, time_t ts, bool sentMsg, char *msgBody)