projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0639d38
)
*** empty log message ***
author
djk
<djk>
Sun, 26 Mar 2000 22:36:03 +0000
(22:36 +0000)
committer
djk
<djk>
Sun, 26 Mar 2000 22:36:03 +0000
(22:36 +0000)
src/client.c
patch
|
blob
|
history
diff --git
a/src/client.c
b/src/client.c
index adf486b1199c61c4b9d042e170d79293b8fc3068..5991ed76ffc6aa4bf1935ce5df6fce75c34ad405 100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-230,7
+230,9
@@
int fcb_handler(sel_t *sp, int in, int out, int err)
++p;
break;
default:
++p;
break;
default:
- if (*p == nl) {
+ if (nl == '\n' && *p == '\r') {
+ p++;
+ } else if (*p == nl) {
if (mp->inp == mp->data)
*mp->inp++ = ' ';
*mp->inp = 0; /* zero terminate it, but don't include it in the length */
if (mp->inp == mp->data)
*mp->inp++ = ' ';
*mp->inp = 0; /* zero terminate it, but don't include it in the length */