summaryrefslogtreecommitdiff
path: root/source4/lib/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/events.c')
-rw-r--r--source4/lib/events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/events.c b/source4/lib/events.c
index 022674460f..85a2cee70f 100644
--- a/source4/lib/events.c
+++ b/source4/lib/events.c
@@ -255,6 +255,7 @@ int event_loop_wait(struct event_context *ev)
time_t t;
ZERO_STRUCT(ev->exit);
+ ev->maxfd = EVENT_INVALID_MAXFD;
t = time(NULL);