summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/events/events.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/events/events.h b/source4/lib/events/events.h
index 6994f6a124..794407204b 100644
--- a/source4/lib/events/events.h
+++ b/source4/lib/events/events.h
@@ -61,4 +61,4 @@ void event_set_fd_flags(struct fd_event *fde, uint16_t flags);
#define EVENT_FD_NOT_WRITEABLE(fde) \
event_set_fd_flags(fde, event_get_fd_flags(fde) & ~EVENT_FD_WRITE)
#define EVENT_FD_NOT_READABLE(fde) \
- event_set_fd_flags(fde, event_get_fd_flags(fde) & ~EVENT_FD_WRITE)
+ event_set_fd_flags(fde, event_get_fd_flags(fde) & ~EVENT_FD_READ)