diff options
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |