aboutsummaryrefslogtreecommitdiffstats
path: root/transact.c
diff options
context:
space:
mode:
Diffstat (limited to 'transact.c')
-rw-r--r--transact.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/transact.c b/transact.c
index c31946ae..a5e40cbc 100644
--- a/transact.c
+++ b/transact.c
@@ -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);
}