Skip to content

Commit

Permalink
use correct order for event status
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Dec 19, 2016
1 parent 35b025b commit e8fb25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/radsniff.c
Expand Up @@ -1840,7 +1840,7 @@ static void rs_got_packet(fr_event_list_t *el, int fd, void *ctx)
}
}

static int _rs_event_status(struct timeval *wake, UNUSED void *ctx)
static int _rs_event_status(UNUSED void *ctx, struct timeval *wake)
{
if (wake && ((wake->tv_sec != 0) || (wake->tv_usec >= 100000))) {
DEBUG2("Waking up in %d.%01u seconds.", (int) wake->tv_sec, (unsigned int) wake->tv_usec / 100000);
Expand Down

0 comments on commit e8fb25f

Please sign in to comment.