++p;
break;
default:
- if (nl == '\n' && *p == '\r') {
+ if (nl == '\n' && *p == '\r') { /* ignore \r in telnet mode (ugh) */
p++;
} else if (*p == nl) {
if (mp->inp == mp->data)
case 'D':
if (p) {
int l = mp->inp - (unsigned char *) p;
- if (nl == '\n' && l >= 1 && p[l-1] == '\r') /* kludge for GB7DXM */
- l--;
send_text(in, p, l);
}
break;