aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmailconf
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-xfetchmailconf2
1 files changed, 1 insertions, 1 deletions
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`