ev.data.ptr = hc;
tvhpoll_rem(hc->hc_efd, &ev, 1);
} else if (hc->hc_pevents != events) {
- tvhtrace(LS_HTTPC, "%04X: add poll for input%s", shortid(hc), out ? " and output" : "");
+ tvhtrace(LS_HTTPC, "%04X: add poll for input%s (%x)", shortid(hc), out ? " and output" : "", events);
memset(&ev, 0, sizeof(ev));
ev.fd = hc->hc_fd;
ev.events = events | TVHPOLL_IN;
}
}
hc->hc_pevents = events;
- /* make sure to se the correct errno for our SSL routines */
+ /* make sure to set the correct errno for our SSL routines */
errno = EAGAIN;
}