diff options
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | fetchmailconf | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -65,6 +65,9 @@ manual page. UIDL isn't flaky as the man page suggested, but a reliability feature. In fact, IMAP4 code is flaky in that it relies on the upstream seen flags. (Matthias Andree) +* Miloslav Trmac's patch for fetchmailconf to support string-type values + of the "port" variable, avoiding "port None" corruption in .fetchmailrc. + To fix Redhat Bug #55623 (Matthias Andree) fetchmail-6.2.5 (Wed Oct 15 18:39:22 EDT 2003), 23079 lines: diff --git a/fetchmailconf b/fetchmailconf index ef41a5df..b28a5d96 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -133,7 +133,7 @@ class Server: res = res + (" via " + str(self.via) + "\n"); if self.protocol != ServerDefaults.protocol: res = res + " with proto " + self.protocol - if self.port != defaultports[self.protocol] and self.port != 0: + if self.port != defaultports[self.protocol] and self.port: res = res + " port " + `self.port` if self.timeout != ServerDefaults.timeout: res = res + " timeout " + `self.timeout` |