diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-02-15 03:52:22 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-02-15 03:52:22 +0000 |
commit | a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1 (patch) | |
tree | d6cb1a8bafd9b0ad735f27ada22a5c884be64cb5 /driver.c | |
parent | 0b3901aacf0dfb18d83570878919dbdbb7956709 (diff) | |
download | fetchmail-a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1.tar.gz fetchmail-a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1.tar.bz2 fetchmail-a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1.zip |
Minor fixes for 5.9.8.
svn path=/trunk/; revision=3578
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -495,10 +495,23 @@ static int fetch_messages(int mailserver_socket, struct query *ctl, suppress_delete = suppress_forward = TRUE; else if (err == PS_REFUSED) suppress_forward = TRUE; +#if 0 + /* + * readheaders does not read the body when it + * hits a non-header. It has been recently + * fixed to return PS_TRUNCATED (properly) when + * that happens, but apparently fixing that bug + * opened this one here (which looks like an + * inproper fix from some ancient thinko) + */ else if (err == PS_TRUNCATED) suppress_readbody = TRUE; else if (err) return(err); +#else + else if (err && err != PS_TRUNCATED) + return(err); +#endif /* * If we're using IMAP4 or something else that @@ -635,7 +648,7 @@ static int fetch_messages(int mailserver_socket, struct query *ctl, /* * Tell the UID code we've seen this. * Matthias Andree: only register the UID if we could actually - * forward this mail. If we omit this !suppress_forward check, + * forward this mail. If we omit this !suppress_delete check, * fetchmail will never retry mail that the local listener * refused temporarily. */ |