fix merge error: event_add would not return error for some backends; from Dean McNamee

svn:r943
This commit is contained in:
Niels Provos 2008-10-03 15:23:47 +00:00
parent 16a6612984
commit 111ddeddac
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
Changes in 1.4.9-stable:
o event_add would not return error for some backends; from Dean McNamee
Changes in 1.4.8-stable:
o Match the query in DNS replies to the query in the request; from Vsevolod Stakhov.
o Fix a merge problem in which name_from_addr returned pointers to the stack; found by Jiang Hong.

View File

@ -779,7 +779,7 @@ event_add(struct event *ev, const struct timeval *tv)
event_queue_insert(base, ev, EVLIST_TIMEOUT);
}
return (0);
return (res);
}
int