From a3074ef83d001e9add8a7a35836325b0c1d574b3 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Mon, 13 Jul 2015 02:39:28 +0200 Subject: degesch: fix the date change timer --- degesch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/degesch.c b/degesch.c index 1301a2d..7c78681 100644 --- a/degesch.c +++ b/degesch.c @@ -9135,8 +9135,8 @@ init_poller_events (struct app_context *ctx) rearm_flush_timer (ctx); poller_timer_init (&ctx->date_chg_tmr, &ctx->poller); - ctx->flush_timer.dispatcher = (poller_timer_fn) on_date_change_timer; - ctx->flush_timer.user_data = ctx; + ctx->date_chg_tmr.dispatcher = (poller_timer_fn) on_date_change_timer; + ctx->date_chg_tmr.user_data = ctx; rearm_date_change_timer (ctx); } -- cgit v1.2.3-70-g09d2