aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-12-16 00:45:49 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-12-16 00:45:49 +0000
commitc963e82daa7e6ab216b1a9c6408825a1883c2463 (patch)
treefe86d82f591b8bef14a3a9abc283971103d47a37
parent0f42d5f6936ccfa0358e385093c99fb9100afa48 (diff)
downloadfetchmail-c963e82daa7e6ab216b1a9c6408825a1883c2463.tar.gz
fetchmail-c963e82daa7e6ab216b1a9c6408825a1883c2463.tar.bz2
fetchmail-c963e82daa7e6ab216b1a9c6408825a1883c2463.zip
Drop PS_TRUNCATED (27), which is never returned.
svn path=/branches/BRANCH_6-3/; revision=4991
-rw-r--r--NEWS1
-rw-r--r--TODO.txt2
-rw-r--r--driver.c2
-rw-r--r--fetchmail.h1
4 files changed, 1 insertions, 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) */