mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
better time printout.
git-svn-id: file:///svn/unbound/trunk@973 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
0627d1a43e
commit
0253676384
2 changed files with 6 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
|||
- check number of queued replies on incoming queries to avoid overload
|
||||
on that account.
|
||||
- fptr whitelist checks are not disabled in optimize mode.
|
||||
- do-daemonize config file option.
|
||||
- minievent time share initializes time at start.
|
||||
|
||||
19 February 2008: Wouter
|
||||
- applied patch to unbound-host man page from Jan-Piet Mens.
|
||||
|
|
|
|||
|
|
@ -90,6 +90,10 @@ void *event_init(uint32_t* time_secs, struct timeval* time_tv)
|
|||
memset(base, 0, sizeof(*base));
|
||||
base->time_secs = time_secs;
|
||||
base->time_tv = time_tv;
|
||||
if(settime(base) < 0) {
|
||||
event_base_free(base);
|
||||
return NULL;
|
||||
}
|
||||
base->times = rbtree_create(mini_ev_cmp);
|
||||
if(!base->times) {
|
||||
event_base_free(base);
|
||||
|
|
|
|||
Loading…
Reference in a new issue