c_write(data, len);
if (len > 0) c_write(data, len);
static int rlogin_receive(Plug plug, int urgent, char *data, int len){    if (urgent == 2) {	char c;	c = *data++;	len--;	if (c == '\x80')	    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...	 */    } else {	/*	 * Main rlogin protocol. This is really simple: the first	 * byte is expected to be NULL and is ignored, and the rest	 * is printed.	 */	static int firstbyte = 1;	if (firstbyte) {	    if (data[0] == '\0') {		data++;		len--;	    }	    firstbyte = 0;	}	c_write(data, len);    }    return 1;}