c = &channels[id]; if (c->type == SSH_CHANNEL_FREE) {
c = channels[id]; if (c == NULL) {
channel_lookup(int id){	Channel *c;	if (id < 0 || id > channels_alloc) {		log("channel_lookup: %d: bad id", id);		return NULL;	}	c = &channels[id];	if (c->type == SSH_CHANNEL_FREE) {		log("channel_lookup: %d: bad id: channel free", id);		return NULL;	}	return c;}