From 194f6a69e8db6392c1c16e228e954312a1b9f347 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 17 Jan 1997 05:41:06 +0000 Subject: Fix message-delimiter logic. svn path=/trunk/; revision=784 --- driver.c | 3 +-- 1 file changed, 1 insertion(+), 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 */ } -- cgit v1.2.3