aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-08 05:03:55 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-08 05:03:55 +0000
commitcaee98b5322babe97c33a64141a413f430e9a8ba (patch)
treea4140c3996f7d178ca02df7e8b764f10a93b8b63 /driver.c
parent36e3009461df70159a9dad1906c23fc51491f761 (diff)
downloadfetchmail-caee98b5322babe97c33a64141a413f430e9a8ba.tar.gz
fetchmail-caee98b5322babe97c33a64141a413f430e9a8ba.tar.bz2
fetchmail-caee98b5322babe97c33a64141a413f430e9a8ba.zip
Bug fixes and better RC file documentation.
svn path=/trunk/; revision=243
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 17b852d0..d03c4730 100644
--- a/driver.c
+++ b/driver.c
@@ -424,6 +424,10 @@ struct hostrec *queryctl;
headers = NULL;
}
+ /* SMTP byte-stuffing */
+ if (*bufp == '.' && queryctl->mda[0] == 0)
+ write(mboxfd, ".", 1);
+
/* write this line to the file */
if (write(mboxfd,bufp,strlen(bufp)) < 0)
{