From: djk Date: Sun, 26 Mar 2000 22:39:13 +0000 (+0000) Subject: took out kludge, did it properly X-Git-Tag: R_1_39~6 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=0c5379f083db3c338a848004ebe2168638c605e9;p=spider.git took out kludge, did it properly --- diff --git a/src/client.c b/src/client.c index 5991ed76..1b346123 100644 --- a/src/client.c +++ b/src/client.c @@ -230,7 +230,7 @@ int fcb_handler(sel_t *sp, int in, int out, int err) ++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) @@ -501,8 +501,6 @@ void process_node() 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;