From c963e82daa7e6ab216b1a9c6408825a1883c2463 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 16 Dec 2006 00:45:49 +0000 Subject: Drop PS_TRUNCATED (27), which is never returned. svn path=/branches/BRANCH_6-3/; revision=4991 --- NEWS | 1 + TODO.txt | 2 -- driver.c | 2 -- fetchmail.h | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/NEWS b/NEWS index afce2357..ecb2e39b 100644 --- a/NEWS +++ b/NEWS @@ -90,6 +90,7 @@ fetchmail 6.3.6 (not yet released): # CHANGES: * Remove excess no-op strcpy() after strdup() found by Andreas Krennmair. +* Remove handling for PS_TRUNCATED (code 27), which was never asserted. * Improve handling of IMAP IDLE, some servers do not reset their time counters after sending information asynchronously. Patch by Sunil Shetye, after report from Andrew Baumann. diff --git a/TODO.txt b/TODO.txt index f390d5d0..ff06d451 100644 --- a/TODO.txt +++ b/TODO.txt @@ -2,8 +2,6 @@ - Zak's further minor issues - Debian Bug #400950: SSL cert CN overrides --user, since Götz Nimrill's authenticate external patch. -- check manpage/fetchmail.h and code which exit statuses are - actually used and clean up 6.3.7: - more SMTP/LMTP error detail on message rejections even outside verbose mode. diff --git a/driver.c b/driver.c index 064ed1fe..2f3b3793 100644 --- a/driver.c +++ b/driver.c @@ -629,8 +629,6 @@ static int fetch_messages(int mailserver_socket, struct query *ctl, suppress_delete = suppress_forward = TRUE; else if (err == PS_REFUSED) suppress_forward = TRUE; - else if (err == PS_TRUNCATED) - suppress_readbody = TRUE; else if (err) return(err); diff --git a/fetchmail.h b/fetchmail.h index 3d6866f7..0893520a 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -143,7 +143,6 @@ char *strstr(const char *, const char *); #define PS_TRANSIENT 24 /* transient failure (internal use) */ #define PS_REFUSED 25 /* mail refused (internal use) */ #define PS_RETAINED 26 /* message retained (internal use) */ -#define PS_TRUNCATED 27 /* headers incomplete (internal use) */ #define PS_REPOLL 28 /* repoll immediately with changed parameters (internal use) */ #define PS_IDLETIMEOUT 29 /* timeout on imap IDLE (internal use) */ -- cgit v1.2.3