From 40510e26c381d8ebebbb2ba0c995c72cc5a42bfc Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sat, 25 Apr 2015 02:09:42 +0200
Subject: degesch: fix warnings
---
degesch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/degesch.c b/degesch.c
index 9bc7b8a..bb14054 100644
--- a/degesch.c
+++ b/degesch.c
@@ -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);
--
cgit v1.2.3-70-g09d2