Commit 73d989b5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Patch from Geoff:

Fixes a compile error (incorrect signature for SES_Delete() in
cache_waiter_ports.c)
parent acc8909f
......@@ -80,14 +80,13 @@ vws_port_ev(struct vws *vws, port_event_t *ev, double now) {
VTAILQ_INSERT_TAIL(&vws->sesshead, sp, list);
vws_add(vws, sp->fd, sp);
} else {
int i;
assert(ev->portev_source == PORT_SOURCE_FD);
CAST_OBJ_NOTNULL(sp, ev->portev_user, SESS_MAGIC);
assert(sp->fd >= 0);
if(ev->portev_events & POLLERR) {
vws_del(vws, sp->fd);
VTAILQ_REMOVE(&vws->sesshead, sp, list);
SES_Delete(sp, "EOF", now);
SES_Delete(sp, SC_REM_CLOSE, now);
return;
}
......@@ -211,7 +210,7 @@ vws_thread(void *priv)
if(sp->fd != -1) {
vws_del(vws, sp->fd);
}
SES_Delete(sp, "timeout", now);
SES_Delete(sp, SC_RX_TIMEOUT, now);
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment