summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-07-07 22:11:15 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-07-07 22:11:15 +0200
commit4d7a74b890bbfe98c45abc5274f1b99cbca9751d (patch)
tree6af6d6b59eaeed09839fd0a18328652c62738fe9
parent9cfe4a5a49a8a01332d9939aba297f05315de70a (diff)
downloadxK-4d7a74b890bbfe98c45abc5274f1b99cbca9751d.tar.gz
xK-4d7a74b890bbfe98c45abc5274f1b99cbca9751d.tar.xz
xK-4d7a74b890bbfe98c45abc5274f1b99cbca9751d.zip
kike: fix a minor issue in on_signal_pipe_readable
-rw-r--r--kike.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kike.c b/kike.c
index 2c911dc..768126b 100644
--- a/kike.c
+++ b/kike.c
@@ -3830,7 +3830,7 @@ irc_setup_listen_fds (struct server_context *ctx, struct error **e)
static void
on_signal_pipe_readable (const struct pollfd *fd, struct server_context *ctx)
{
- char *dummy;
+ char dummy;
(void) read (fd->fd, &dummy, 1);
if (g_termination_requested && !ctx->quitting)