Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
access: fix the ticket timeout
  • Loading branch information
perexg committed Mar 10, 2016
1 parent 845bde7 commit 9f44f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/access.c
Expand Up @@ -130,7 +130,7 @@ access_ticket_create(const char *resource, access_t *a)
at->at_access = access_copy(a);

TAILQ_INSERT_TAIL(&access_tickets, at, at_link);
mtimer_arm_rel(&at->at_timer, access_ticket_timout, at, 60*5);
mtimer_arm_rel(&at->at_timer, access_ticket_timout, at, sec2mono(60*5));

return at->at_id;
}
Expand Down

0 comments on commit 9f44f72

Please sign in to comment.