summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-20 12:55:11 +0100
committerJeremy Allison <jra@samba.org>2013-03-01 12:00:45 -0800
commit07e0427115f030b9b573b2d8a3a91b71b9b89eb6 (patch)
tree4db698821462a26224aa88d05d4190601612bbba
parent056dcc7a8a9b0cac0b28ef6712eccf46e45c2474 (diff)
downloadsamba-07e0427115f030b9b573b2d8a3a91b71b9b89eb6.tar.gz
samba-07e0427115f030b9b573b2d8a3a91b71b9b89eb6.tar.bz2
samba-07e0427115f030b9b573b2d8a3a91b71b9b89eb6.zip
tevent: s/epoll_change_event/epoll_update_event
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--lib/tevent/tevent_epoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tevent/tevent_epoll.c b/lib/tevent/tevent_epoll.c
index f219cba595..f8b151d113 100644
--- a/lib/tevent/tevent_epoll.c
+++ b/lib/tevent/tevent_epoll.c
@@ -345,7 +345,7 @@ static void epoll_mod_event(struct epoll_event_context *epoll_ev, struct tevent_
}
}
-static void epoll_change_event(struct epoll_event_context *epoll_ev, struct tevent_fd *fde)
+static void epoll_update_event(struct epoll_event_context *epoll_ev, struct tevent_fd *fde)
{
bool got_error = (fde->additional_flags & EPOLL_ADDITIONAL_FD_FLAG_GOT_ERROR);
bool want_read = (fde->flags & TEVENT_FD_READ);
@@ -578,7 +578,7 @@ static void epoll_event_set_fd_flags(struct tevent_fd *fde, uint16_t flags)
}
epoll_ev->panic_state = NULL;
- epoll_change_event(epoll_ev, fde);
+ epoll_update_event(epoll_ev, fde);
}
/*