Index: driver.c =================================================================== RCS file: /home/cvs/debian/fetchmail/driver.c,v retrieving revision 1.31 retrieving revision 1.33 diff -u -r1.31 -r1.33 --- driver.c 2 Feb 2002 23:07:48 -0000 1.31 +++ driver.c 10 Feb 2002 12:34:13 -0000 1.33 @@ -495,10 +495,23 @@ 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