summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent_poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tevent/tevent_poll.c')
-rw-r--r--lib/tevent/tevent_poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/tevent_poll.c b/lib/tevent/tevent_poll.c
index 92fcc441ac..c6e2a00ffe 100644
--- a/lib/tevent/tevent_poll.c
+++ b/lib/tevent/tevent_poll.c
@@ -419,8 +419,8 @@ static bool poll_event_setup_fresh(struct tevent_context *ev,
poll_ev->fdes[i]->additional_flags = i;
}
}
+ poll_ev->deleted = false;
}
- poll_ev->deleted = false;
if (poll_ev->fresh == NULL) {
return true;