summaryrefslogtreecommitdiff
path: root/devpoll.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-01-27 21:10:31 +0000
committerNick Mathewson <nickm@torproject.org>2009-01-27 21:10:31 +0000
commit9993137cbbd9508dbf28e431e0f84d809c516128 (patch)
treeedc8689f6acbcca4d62962a20b1af2612fff3dc8 /devpoll.c
parent3065389973fcfb724981376c31a51b11b679abc0 (diff)
downloadlibevent-9993137cbbd9508dbf28e431e0f84d809c516128.tar.gz
Remove all trailing whitespace in all the source files.
svn:r1063
Diffstat (limited to 'devpoll.c')
-rw-r--r--devpoll.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/devpoll.c b/devpoll.c
index 63f3df38..a31745ed 100644
--- a/devpoll.c
+++ b/devpoll.c
@@ -102,8 +102,8 @@ devpoll_queue(struct devpollop *devpollop, int fd, int events) {
if (devpollop->nchanges >= devpollop->nevents) {
/*
- * Change buffer is full, must commit it to /dev/poll before
- * adding more
+ * Change buffer is full, must commit it to /dev/poll before
+ * adding more
*/
if (devpoll_commit(devpollop) != 0)
return(-1);
@@ -228,7 +228,7 @@ devpoll_add(struct event_base *base, int fd, short old, short events, void *p)
int res;
(void)p;
- /*
+ /*
* It's not necessary to OR the existing read/write events that we
* are currently interested in with the new event we are adding.
* The /dev/poll driver ORs any new events with the existing events
@@ -262,8 +262,8 @@ devpoll_del(struct event_base *base, int fd, short old, short events, void *p)
/*
* The only way to remove an fd from the /dev/poll monitored set is
- * to use POLLREMOVE by itself. This removes ALL events for the fd
- * provided so if we care about two events and are only removing one
+ * to use POLLREMOVE by itself. This removes ALL events for the fd
+ * provided so if we care about two events and are only removing one
* we must re-add the other event after POLLREMOVE.
*/