Don't call a function which hasn't been defined
@@ -666,6 +666,7 @@ 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);
+ if (ev->vmt->winsock_tcp_wouldblock)
(*ev->vmt->winsock_tcp_wouldblock)(ev, eventbits);
}
}
