diff --git a/src/jabber_whiteboard/inkboard-document.cpp b/src/jabber_whiteboard/inkboard-document.cpp
index 0bb0783f0027188a1db6e8857ec4b45fcaddd088..9f3d8ce4293dac6fb59862965dec2df0ad85de0a 100644 (file)
Vars::WHITEBOARD_MESSAGE, this->sessionType, this->sm->getClient().getJid(),
destJid, Vars::INKBOARD_XMLNS, this->getSessionId(), mes).c_str());
- if (!this->sm->getClient().write(finalmessage))
+ if (!this->sm->getClient().write("%s",finalmessage))
{ return false; }
else
{ return true; }