about summary refs log tree commit diff stats
path: root/src/xmpp/roster.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-03-26 16:44:02 +0000
committerJames Booth <boothj5@gmail.com>2016-03-26 16:44:02 +0000
commit7b34f72007b6172de63d4b7b8ac49c01c7404c8f (patch)
tree2080a958b2629793b400886e9ee5b385e2b5655e /src/xmpp/roster.c
parentd0397f3da5ca659d86590e8730e6765609ef56ca (diff)
downloadprofani-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.c4
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);
     }
 }
ight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
[colours]
bkgnd=default
titlebar=blue
statusbar=blue
titlebar.text=white
titlebar.brackets=white
statusbar.text=white
statusbar.brackets=white
statusbar.active=cyan
statusbar.new=white
main.text=blue
input.text=white
main.time=cyan
main.splash=white
online=white
away=cyan
chat=white
dnd=blue
xa=cyan
offline=blue
typing=white
gone=blue
error=white
incoming=white
roominfo=white
roommention=white
me=white
them=cyan
titlebar.unencrypted=cyan
titlebar.encrypted=white
titlebar.untrusted=cyan
titlebar.trusted=white
otr.started.trusted=white
otr.started.untrusted=cyan
otr.ended=cyan
otr.trusted=white
otr.untrusted=cyan