degesch: fix the date change timer

This commit is contained in:
Přemysl Eric Janouch 2015-07-13 02:39:28 +02:00
parent 606f0b1faa
commit a3074ef83d
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}