diff options
Diffstat (limited to 'src/collect.c')
-rw-r--r-- | src/collect.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/collect.c b/src/collect.c index 58f0dc7..d3a1f18 100644 --- a/src/collect.c +++ b/src/collect.c @@ -375,8 +375,12 @@ nextstate: if (*--bp != '\n' || *--bp != '\r') bp++; *bp = '\0'; - if (bitset(H_EOH, chompheader(buf, FALSE, hdrp, e))) - mstate = MS_BODY; + if (bitset(H_EOH, chompheader(buf, FALSE, hdrp, e))) { + mstate = MS_BODY; + if (tTd(30, 35)) + printf("H_EOH, istate=%d, mstate=%d\n", istate, mstate); + goto nextstate; + } break; case MS_BODY: |