]> dxcluster.org Git - spider.git/commitdiff
*** empty log message ***
authordjk <djk>
Sun, 26 Mar 2000 22:36:03 +0000 (22:36 +0000)
committerdjk <djk>
Sun, 26 Mar 2000 22:36:03 +0000 (22:36 +0000)
src/client.c

index adf486b1199c61c4b9d042e170d79293b8fc3068..5991ed76ffc6aa4bf1935ce5df6fce75c34ad405 100644 (file)
@@ -230,7 +230,9 @@ int fcb_handler(sel_t *sp, int in, int out, int err)
                                        ++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 */