diff options
author | James Booth <boothj5@gmail.com> | 2016-03-26 16:44:02 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-03-26 16:44:02 +0000 |
commit | 7b34f72007b6172de63d4b7b8ac49c01c7404c8f (patch) | |
tree | 2080a958b2629793b400886e9ee5b385e2b5655e /src/xmpp/roster.c | |
parent | d0397f3da5ca659d86590e8730e6765609ef56ca (diff) | |
download | profani-tty-7b34f72007b6172de63d4b7b8ac49c01c7404c8f.tar.gz |
Use xmpp_send_raw_string instead of xmpp_send_raw
Diffstat (limited to 'src/xmpp/roster.c')
-rw-r--r-- | src/xmpp/roster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/roster.c b/src/xmpp/roster.c index 03081cdc..fb4e5815 100644 --- a/src/xmpp/roster.c +++ b/src/xmpp/roster.c @@ -371,8 +371,8 @@ _send_iq_stanza(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza) char *plugin_text = plugins_on_iq_stanza_send(text); if (plugin_text) { - xmpp_send_raw(conn, plugin_text, strlen(plugin_text)); + xmpp_send_raw_string(conn, "%s", plugin_text); } else { - xmpp_send_raw(conn, text, text_size); + xmpp_send_raw_string(conn, "%s", text); } } |