c->rfd = -1;
chan_shutdown_read(Channel *c){	if (compat20 && c->type == SSH_CHANNEL_LARVAL)		return;	debug("channel %d: close_read", c->self);	if (c->sock != -1) {		if (shutdown(c->sock, SHUT_RD) < 0)			error("channel %d: chan_shutdown_read: shutdown() failed for fd%d [i%d o%d]: %.100s",			    c->self, c->sock, c->istate, c->ostate, strerror(errno));	} else {		if (close(c->rfd) < 0)			log("channel %d: chan_shutdown_read: close() failed for fd%d: %.100s",			    c->self, c->rfd, strerror(errno));	}}