Autotest crash fix.

This commit is contained in:
Jan Vidar Krey 2009-06-25 17:31:39 +02:00
parent a3d4c8dbc3
commit 5f3f2d4f4d
1 changed files with 6 additions and 3 deletions

View File

@ -108,9 +108,12 @@ int uman_init(struct hub_info* hub)
hub->users = users;
#ifdef USERMANAGER_TIMER
if (hub->evbase)
{
evtimer_set(&hub->ev_timer, timer_statistics, hub);
event_base_set(hub->evbase, &hub->ev_timer);
evtimer_add(&hub->ev_timer, &timeout);
}
#endif // 0
return 0;
}