summaryrefslogtreecommitdiff
path: root/source4/lib/events
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-25 09:36:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:01 -0500
commite7b3f91678a27d85791f7a62fc418988edc92214 (patch)
treef7875c06249f8b2c7a47ba2a83c42f8085e6503b /source4/lib/events
parent942eb58e61621dc710a2c96418dda6aaba7e06c3 (diff)
downloadsamba-e7b3f91678a27d85791f7a62fc418988edc92214.tar.gz
samba-e7b3f91678a27d85791f7a62fc418988edc92214.tar.bz2
samba-e7b3f91678a27d85791f7a62fc418988edc92214.zip
r6968: fixed a typo in the event macros. I'm surprised this one didn't show up earlier!
(This used to be commit 517028870747338fe96fd7607ec507e5577b67a9)
Diffstat (limited to 'source4/lib/events')
-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)