mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-02 19:59:28 -05:00
Don't call a function which hasn't been defined
This commit is contained in:
parent
3f7e164751
commit
2c3f764d61
1 changed files with 2 additions and 1 deletions
|
|
@ -666,7 +666,8 @@ ub_winsock_tcp_wouldblock(struct ub_event* ev, int eventbits)
|
|||
fptr_ok(ev->vmt != &default_event_vmt ||
|
||||
ev->vmt->winsock_tcp_wouldblock ==
|
||||
my_winsock_tcp_wouldblock);
|
||||
(*ev->vmt->winsock_tcp_wouldblock)(ev, eventbits);
|
||||
if (ev->vmt->winsock_tcp_wouldblock)
|
||||
(*ev->vmt->winsock_tcp_wouldblock)(ev, eventbits);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue