diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-07-04 02:35:30 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-07-04 02:35:30 +0000 |
commit | d3ce90c880ce40858ff90813738335c8d73dea8d (patch) | |
tree | 27998fef04fb3f0334ba5afdfbd33cddc26ea479 | |
parent | 0c7905befcf041caf6bd4f14c801edc9cfeb1888 (diff) | |
download | fetchmail-d3ce90c880ce40858ff90813738335c8d73dea8d.tar.gz fetchmail-d3ce90c880ce40858ff90813738335c8d73dea8d.tar.bz2 fetchmail-d3ce90c880ce40858ff90813738335c8d73dea8d.zip |
Better skip handling.
svn path=/trunk/; revision=3392
-rw-r--r-- | transact.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -797,14 +797,14 @@ int readheaders(int sock, line, strlen(ctl->server.envelope))) { - if (skipcount++ != ctl->server.envskip) + if (skipcount++ < ctl->server.envskip) continue; env_offs = (line - msgblk.headers); } } else if (!received_for && !strncasecmp("Received:", line, 9)) { - if (skipcount++ != ctl->server.envskip) + if (skipcount++ < ctl->server.envskip) continue; received_for = parse_received(ctl, line); } |