mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-21 13:16:57 +00:00
BUG/MINOR: build: fix event ports (Solaris)
Patch 6b308985
"MEDIUM: fd: do not use the FD_POLL_* flags in the
pollers anymore" break ev_evports.c build. Restore variable name
to fix it.
This commit is contained in:
parent
a668761181
commit
7ceb96be72
@ -241,10 +241,10 @@ REGPRM3 static void _do_poll(struct poller *p, int exp, int wake)
|
||||
/*
|
||||
* Set bits based on the events we received from the port:
|
||||
*/
|
||||
n = ((e & POLLIN) ? FD_EV_READY_R : 0) |
|
||||
((e & POLLOUT) ? FD_EV_READY_W : 0) |
|
||||
((e & POLLHUP) ? FD_EV_SHUT_RW : 0) |
|
||||
((e & POLLERR) ? FD_EV_ERR_RW : 0);
|
||||
n = ((events & POLLIN) ? FD_EV_READY_R : 0) |
|
||||
((events & POLLOUT) ? FD_EV_READY_W : 0) |
|
||||
((events & POLLHUP) ? FD_EV_SHUT_RW : 0) |
|
||||
((events & POLLERR) ? FD_EV_ERR_RW : 0);
|
||||
|
||||
/*
|
||||
* Call connection processing callbacks. Note that it's
|
||||
|
Loading…
Reference in New Issue
Block a user