projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a09401
)
take off any trailing \r with telnet mode
author
djk
<djk>
Sun, 26 Mar 2000 22:23:06 +0000
(22:23 +0000)
committer
djk
<djk>
Sun, 26 Mar 2000 22:23:06 +0000
(22:23 +0000)
src/client.c
patch
|
blob
|
history
diff --git
a/src/client.c
b/src/client.c
index ac8911448f4d12a390eddd7b97d78ffd92a4d6aa..adf486b1199c61c4b9d042e170d79293b8fc3068 100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-499,8
+499,10
@@
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;
default:
break;