kike: fix a minor issue in on_signal_pipe_readable

This commit is contained in:
Přemysl Eric Janouch 2015-07-07 22:11:15 +02:00
parent 9cfe4a5a49
commit 4d7a74b890
1 changed files with 1 additions and 1 deletions

2
kike.c
View File

@ -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)