mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix libev usage of dispatch return value.
git-svn-id: file:///svn/unbound/trunk@3668 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
a36136f82c
commit
3bcb955a07
2 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
11 March 2016: Wouter
|
11 March 2016: Wouter
|
||||||
- Remove warning about unused parameter in event_pluggable.c.
|
- Remove warning about unused parameter in event_pluggable.c.
|
||||||
|
- Fix libev usage of dispatch return value.
|
||||||
|
|
||||||
10 March 2016: Wouter
|
10 March 2016: Wouter
|
||||||
- Fixup backend2str for libev.
|
- Fixup backend2str for libev.
|
||||||
|
|
|
||||||
|
|
@ -236,7 +236,7 @@ comm_base_dispatch(struct comm_base* b)
|
||||||
{
|
{
|
||||||
int retval;
|
int retval;
|
||||||
retval = ub_event_base_dispatch(b->eb->base);
|
retval = ub_event_base_dispatch(b->eb->base);
|
||||||
if(retval != 0) {
|
if(retval < 0) {
|
||||||
fatal_exit("event_dispatch returned error %d, "
|
fatal_exit("event_dispatch returned error %d, "
|
||||||
"errno is %s", retval, strerror(errno));
|
"errno is %s", retval, strerror(errno));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue