[core] fix compile error on Solaris (fixes #2959)
(thx pyhalov) x-ref: "Release 1.4.54 does not compile on an Open Solaris clone" https://redmine.lighttpd.net/issues/2959
This commit is contained in:
parent
51a46f0211
commit
32a8f0b3b5
|
@ -20,7 +20,7 @@ static int fdevent_solaris_port_event_del(fdevents *ev, fdnode *fdn) {
|
|||
}
|
||||
|
||||
static int fdevent_solaris_port_event_set(fdevents *ev, fdnode *fdn, int events) {
|
||||
int fd = fdn->fdn_ndx = fdn->fd;
|
||||
int fd = fdn->fde_ndx = fdn->fd;
|
||||
intptr_t ud = events & (POLLIN|POLLOUT);
|
||||
return port_associate(ev->port_fd,PORT_SOURCE_FD,fd,(int)ud,(void*)ud);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue