struct hthead *req;
ncl = 0;
+ cl = NULL;
while(1) {
struct pollfd pfd[ncl + 1];
for(i = 0; i < ncl; i++) {
if((rfd = recvreq(cl[i], &req)) < 0) {
if(errno != 0)
flog(LOG_ERR, "htpipe: error from client: %s", strerror(errno));
+ close(cl[i]);
cl[i] = -1;
} else {
if(sendreq(ch, req, rfd)) {