diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-05 05:15:08 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-05 05:15:08 +0200 |
commit | 53894e39097846166e0cfb3a5260aad86cd5860f (patch) | |
tree | bf648e8eb93f3b42f914d96e02e7d2af35e66770 | |
parent | 8574c7f450f93b15c031e975f72e734f4f72a2ef (diff) | |
download | xK-53894e39097846166e0cfb3a5260aad86cd5860f.tar.gz xK-53894e39097846166e0cfb3a5260aad86cd5860f.tar.xz xK-53894e39097846166e0cfb3a5260aad86cd5860f.zip |
degesch: fix a brutal bug
-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); } |