c = channel_lookup(oldch);
if (nc == NULL) { error("channel_post_auth_listener: channel_new failed"); close(newsock); }
channel_post_auth_listener(Channel *c, fd_set * readset, fd_set * writeset){	struct sockaddr addr;	int newsock, newch, oldch;	socklen_t addrlen;	if (FD_ISSET(c->sock, readset)) {		addrlen = sizeof(addr);		newsock = accept(c->sock, &addr, &addrlen);		if (newsock < 0) {			error("accept from auth socket: %.100s", strerror(errno));			return;		}		oldch = c->self;		newch = channel_new("accepted auth socket",		    SSH_CHANNEL_OPENING, newsock, newsock, -1,		    c->local_window_max, c->local_maxpacket,		    0, xstrdup("accepted auth socket"), 1);		c = channel_lookup(oldch);		if (compat20) {			packet_start(SSH2_MSG_CHANNEL_OPEN);			packet_put_cstring("auth-agent@openssh.com");			packet_put_int(newch);			packet_put_int(c->local_window_max);			packet_put_int(c->local_maxpacket);		} else {			packet_start(SSH_SMSG_AGENT_OPEN);			packet_put_int(newch);		}		packet_send();	}}