aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-01-30 04:41:00 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-01-30 04:41:00 +0000
commit61345121e51771328803c9ee8fbe15e4177a25df (patch)
treec3aa7d3626b63567096546435932c509d2dfec41 /pop3.c
parent46a0fc8557cf1c5b765c7c761d891aa6f021c159 (diff)
downloadfetchmail-61345121e51771328803c9ee8fbe15e4177a25df.tar.gz
fetchmail-61345121e51771328803c9ee8fbe15e4177a25df.tar.bz2
fetchmail-61345121e51771328803c9ee8fbe15e4177a25df.zip
This version appears ready to ship.
svn path=/trunk/; revision=2355
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index 5b809a1a..f5cb3b75 100644
--- a/pop3.c
+++ b/pop3.c
@@ -567,7 +567,7 @@ static int pop3_fetch(int sock, struct query *ctl, int number, int *lenp)
sprintf(sdps_envto,"To: <%s>",buf);
}
} while
- (buf[0] !='.');
+ (!(buf[0] == '.' && (buf[1] == '\r' || buf[1] == '\n' || buf[1] == '\0')));
}
#endif /* SDPS_ENABLE */