Use xmpp_send_raw_string instead of xmpp_send_raw

This commit is contained in:
James Booth
2016-03-26 16:44:02 +00:00
parent d0397f3da5
commit 7b34f72007
6 changed files with 13 additions and 13 deletions

View File

@@ -486,7 +486,7 @@ jabber_send_stanza(const char *const stanza)
if (jabber_conn.conn_status != JABBER_CONNECTED) {
return FALSE;
} else {
xmpp_send_raw(jabber_conn.conn, stanza, strlen(stanza));
xmpp_send_raw_string(jabber_conn.conn, "%s", stanza);
return TRUE;
}
}