s = NULL;
static int rlogin_receive (Socket s, int urgent, char *data, int len) {    if (urgent==3) {        /* A socket error has occurred. */        connection_fatal(data);        len = 0;    }    if (!len) {	/* Connection has closed. */	sk_close(s);	s = NULL;	return 0;    }    if (urgent == 2) {        char c;                c = *data++; len--;        if (c == 0x80)            rlogin_size();        /*         * We should flush everything (aka Telnet SYNCH) if we see         * 0x02, and we should turn off and on _local_ flow control         * on 0x10 and 0x20 respectively. I'm not convinced it's         * worth it...         */    }    c_write(data, len);    return 1;}