if (pr->c == NULL) { sfree(pr); return 1; } else {  ssh_send_port_open(pr->c, pr->hostname, pr->port, "forwarding");
if (pr->c == NULL) { sfree(pr); return 1; } else {  ssh_send_port_open(pr->c, pr->hostname, pr->port, "forwarding"); }
static int pfd_accepting(Plug p, void *sock){    static const struct plug_function_table fn_table = {	pfd_closing,	pfd_receive,	pfd_sent,	NULL    };    struct PFwdPrivate *pr, *org;    Socket s;    char *err;    org = (struct PFwdPrivate *)p;    pr = snew(struct PFwdPrivate);    pr->fn = &fn_table;    pr->c = NULL;    pr->backhandle = org->backhandle;    pr->s = s = sk_register(sock, (Plug) pr);    if ((err = sk_socket_error(s)) != NULL) {	sfree(pr);	return err != NULL;    }    pr->c = new_sock_channel(org->backhandle, s);    strcpy(pr->hostname, org->hostname);    pr->port = org->port;    pr->throttled = pr->throttle_override = 0;    pr->ready = 0;    pr->waiting = NULL;    sk_set_private_ptr(s, pr);    if (pr->c == NULL) {	sfree(pr);	return 1;    } else {	/* asks to forward to the specified host/port for this */	ssh_send_port_open(pr->c, pr->hostname, pr->port, "forwarding");    }    return 0;}