aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index 2ab5f6f9..4f934c38 100644
--- a/driver.c
+++ b/driver.c
@@ -417,8 +417,7 @@ char *realname; /* real name of host */
if (buf[0] == '\r' && buf[1] == '\n')
inheaders = 0;
if (delimited && *bufp == '.') {
- bufp++;
- if (*bufp == 0)
+ if (bufp[1] == '\r' && bufp[2] == '\n')
break; /* end of message */
}