diff options
author | defanor <defanor@uberspace.net> | 2020-11-26 15:09:42 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2020-11-26 15:09:42 +0300 |
commit | ff1dad7ec8717a3cf4a798daff9f025964c660f5 (patch) | |
tree | c50da3e562df78da47ae493e7026f4e5f5e55321 /examples/weechat.c | |
parent | 1e242aaf63f40dc3b6f9447e5f677f4e7d60bccc (diff) |
Introduce rexmpp_strerror
Diffstat (limited to 'examples/weechat.c')
-rw-r--r-- | examples/weechat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/weechat.c b/examples/weechat.c index 29a592a..1fa4e57 100644 --- a/examples/weechat.c +++ b/examples/weechat.c @@ -432,7 +432,7 @@ void iter (struct weechat_rexmpp *wr, fd_set *rfds, fd_set *wfds) { return; } if (err != REXMPP_E_AGAIN) { - weechat_printf(wr->server_buffer, "rexmpp error"); + weechat_printf(wr->server_buffer, "rexmpp error: %s", rexmpp_strerror(err)); return; } fd_set read_fds, write_fds; |