degesch: fix the date change timer
This commit is contained in:
parent
606f0b1faa
commit
a3074ef83d
|
@ -9135,8 +9135,8 @@ init_poller_events (struct app_context *ctx)
|
||||||
rearm_flush_timer (ctx);
|
rearm_flush_timer (ctx);
|
||||||
|
|
||||||
poller_timer_init (&ctx->date_chg_tmr, &ctx->poller);
|
poller_timer_init (&ctx->date_chg_tmr, &ctx->poller);
|
||||||
ctx->flush_timer.dispatcher = (poller_timer_fn) on_date_change_timer;
|
ctx->date_chg_tmr.dispatcher = (poller_timer_fn) on_date_change_timer;
|
||||||
ctx->flush_timer.user_data = ctx;
|
ctx->date_chg_tmr.user_data = ctx;
|
||||||
rearm_date_change_timer (ctx);
|
rearm_date_change_timer (ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue