aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index 892e9690..a7652b47 100644
--- a/driver.c
+++ b/driver.c
@@ -308,9 +308,9 @@ struct hostrec *queryctl;
bufp = buf;
if (buf[0] == '\0' || buf[0] == '\r' || buf[0] == '\n')
inheaders = 0;
- if (*bufp == '.') {
+ if (delimited && *bufp == '.') {
bufp++;
- if (delimited && *bufp == 0)
+ if (*bufp == 0)
break; /* end of message */
}
strcat(bufp, "\n");