summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-05-30 00:19:06 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2019-06-06 02:47:59 -0400
commit32a8f0b3b51a7b7f7a274c9f7bad3ab01539a08a (patch)
treea30154771e0eb56b5af44107ab6d5c930eebb15e
parent51a46f0211d89deed1186ad97dd2c2a0c24a3cc3 (diff)
downloadlighttpd1.4-32a8f0b3b51a7b7f7a274c9f7bad3ab01539a08a.tar.gz
lighttpd1.4-32a8f0b3b51a7b7f7a274c9f7bad3ab01539a08a.zip
[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
-rw-r--r--src/fdevent_solaris_port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fdevent_solaris_port.c b/src/fdevent_solaris_port.c
index c210a5a1..a083d784 100644
--- a/src/fdevent_solaris_port.c
+++ b/src/fdevent_solaris_port.c
@@ -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);
}