diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-25 02:09:42 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-25 02:09:42 +0200 |
commit | 40510e26c381d8ebebbb2ba0c995c72cc5a42bfc (patch) | |
tree | 17ba06bb165d977bf13c63eb0d7cf13271423dd8 | |
parent | 29da71800a88a1fbbb9f9f10c1f335fbace95b62 (diff) | |
download | xK-40510e26c381d8ebebbb2ba0c995c72cc5a42bfc.tar.gz xK-40510e26c381d8ebebbb2ba0c995c72cc5a42bfc.tar.xz xK-40510e26c381d8ebebbb2ba0c995c72cc5a42bfc.zip |
degesch: fix warnings
-rw-r--r-- | degesch.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2191,7 +2191,7 @@ irc_handle_quit (struct app_context *ctx, const struct irc_message *msg) if (buffer) { buffer_send (ctx, buffer, BUFFER_LINE_QUIT, 0, - msg->prefix, message, ""); + msg->prefix, message, "%s", ""); // TODO: set some kind of a flag in the buffer and when the user // reappers on a channel (JOIN), log a "is back online" message. @@ -2205,7 +2205,7 @@ irc_handle_quit (struct app_context *ctx, const struct irc_message *msg) buffer = str_map_find (&ctx->irc_buffer_map, iter->channel->name); if (buffer) buffer_send (ctx, buffer, BUFFER_LINE_QUIT, 0, - msg->prefix, message, ""); + msg->prefix, message, "%s", ""); // This destroys "iter" which doesn't matter to us irc_remove_user_from_channel (user, iter->channel); |