From 53894e39097846166e0cfb3a5260aad86cd5860f Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Tue, 5 May 2015 05:15:08 +0200 Subject: degesch: fix a brutal bug --- degesch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/degesch.c b/degesch.c index 2e9286d..8ac776f 100644 --- a/degesch.c +++ b/degesch.c @@ -5038,7 +5038,7 @@ init_poller_events (struct app_context *ctx) poller_fd_init (&ctx->tty_event, &ctx->poller, STDIN_FILENO); ctx->tty_event.dispatcher = (poller_fd_fn) on_tty_readable; - ctx->tty_event.user_data = &ctx; + ctx->tty_event.user_data = ctx; poller_fd_set (&ctx->tty_event, POLLIN); } -- cgit v1.2.3-70-g09d2