Skip to content

Commit

Permalink
Fix arguments to timer callback
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Nov 26, 2016
1 parent 2090bc4 commit d7fffba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ int fr_event_timer_run(fr_event_list_t *el, struct timeval *when)
*/
fr_event_timer_delete(el, ev->parent);

callback(ctx, when);
callback(when, ctx);

return 1;
}
Expand Down

0 comments on commit d7fffba

Please sign in to comment.