diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/events.c b/source3/lib/events.c index 6fc3a9727b..08debb4252 100644 --- a/source3/lib/events.c +++ b/source3/lib/events.c @@ -142,7 +142,7 @@ struct timeval *get_timed_events_timeout(struct tevent_context *ev, { struct timeval now; - if (ev->timer_events == NULL) { + if ((ev->timer_events == NULL) && (ev->immediate_events == NULL)) { return NULL; } if (ev->immediate_events != NULL) { |