diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/events.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/events.c b/source3/lib/events.c index d987072884..802a2e5731 100644 --- a/source3/lib/events.c +++ b/source3/lib/events.c @@ -120,6 +120,10 @@ bool run_events(struct tevent_context *ev, return false; } + if (selrtn <= 0) { + return false; + } + for (fde = ev->fd_events; fde; fde = fde->next) { uint16 flags = 0; |