diff options
author | Olaf van der Spek <olafvdspek@gmail.com> | 2010-08-23 21:41:54 +0000 |
---|---|---|
committer | Olaf van der Spek <olafvdspek@gmail.com> | 2010-08-23 21:41:54 +0000 |
commit | a85840baef48307ba44719ae44bbb0ca801c30a2 (patch) | |
tree | fdfdb1aefa733b99259eae4618de831940241d32 /src/fdevent_solaris_devpoll.c | |
parent | b0a9856092499507b786855095a89975c1f9ce35 (diff) | |
download | lighttpd-a85840baef48307ba44719ae44bbb0ca801c30a2.tar.gz |
Upstream 1.4.28
Diffstat (limited to 'src/fdevent_solaris_devpoll.c')
-rw-r--r-- | src/fdevent_solaris_devpoll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fdevent_solaris_devpoll.c b/src/fdevent_solaris_devpoll.c index da08eb4..cfbc510 100644 --- a/src/fdevent_solaris_devpoll.c +++ b/src/fdevent_solaris_devpoll.c @@ -40,7 +40,7 @@ static int fdevent_solaris_devpoll_event_del(fdevents *ev, int fde_ndx, int fd) return -1; } -static int fdevent_solaris_devpoll_event_add(fdevents *ev, int fde_ndx, int fd, int events) { +static int fdevent_solaris_devpoll_event_set(fdevents *ev, int fde_ndx, int fd, int events) { struct pollfd pfd; int add = 0; @@ -56,7 +56,7 @@ static int fdevent_solaris_devpoll_event_add(fdevents *ev, int fde_ndx, int fd, if (-1 == write(ev->devpoll_fd, &pfd, sizeof(pfd))) { log_error_write(ev->srv, __FILE__, __LINE__, "S(D, S)", - "(add) write failed: ", fd, strerror(errno)); + "(set) write failed: ", fd, strerror(errno)); return -1; } @@ -139,7 +139,7 @@ int fdevent_solaris_devpoll_init(fdevents *ev) { SET(reset); SET(event_del); - SET(event_add); + SET(event_set); SET(event_next_fdndx); SET(event_get_fd); |