aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmailconf
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-02-12 16:47:39 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-02-12 16:47:39 +0000
commit7c298626dfbc38ccf49649e86c2eedce1bc8bc18 (patch)
treec457f7466bbda2e38e04c1f54b8f9c1d7e7a9676 /fetchmailconf
parent3884a167ae57c8429d2fd01c2aa832ae3ca4c6b8 (diff)
downloadfetchmail-7c298626dfbc38ccf49649e86c2eedce1bc8bc18.tar.gz
fetchmail-7c298626dfbc38ccf49649e86c2eedce1bc8bc18.tar.bz2
fetchmail-7c298626dfbc38ccf49649e86c2eedce1bc8bc18.zip
Fix for fetchmailconf.
svn path=/trunk/; revision=2744
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-xfetchmailconf6
1 files changed, 3 insertions, 3 deletions
diff --git a/fetchmailconf b/fetchmailconf
index 9d820309..245a6170 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -302,11 +302,11 @@ class User:
res = res + " fetchlimit " + `self.fetchlimit`
if self.batchlimit != UserDefaults.batchlimit:
res = res + " batchlimit " + `self.batchlimit`
- if self.ssl != UserDefaults.ssl:
+ if self.ssl and self.ssl != UserDefaults.ssl:
res = res + flag2str(self.ssl, 'ssl')
- if self.sslkey != UserDefaults.sslkey:
+ if self.sslkey and self.sslkey != UserDefaults.sslkey:
res = res + " sslkey " + `self.sslkey`
- if self.sslcert != UserDefaults.sslcert:
+ if self.sslcert and self.sslcert != UserDefaults.sslcert:
res = res + " ssl " + `self.sslcert`
if self.expunge != UserDefaults.expunge:
res = res + " expunge " + `self.expunge`