aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-06-03 01:15:20 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-06-03 01:15:20 +0000
commit4a62610b861fabf546e44ee8e744ba05c64271f6 (patch)
tree3d7738f31eb79f9414622e41c6eaa202932c958e
parent7c8e875f7641745d45dde3dc208851103f512491 (diff)
downloadfetchmail-4a62610b861fabf546e44ee8e744ba05c64271f6.tar.gz
fetchmail-4a62610b861fabf546e44ee8e744ba05c64271f6.tar.bz2
fetchmail-4a62610b861fabf546e44ee8e744ba05c64271f6.zip
STLS fix.
svn path=/trunk/; revision=3621
-rw-r--r--pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index 41723b48..cbbe7f75 100644
--- a/pop3.c
+++ b/pop3.c
@@ -232,7 +232,7 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting)
}
#ifdef SSL_ENABLE
- if (has_ssl &&
+ if (has_ssl && !ctl->use_ssl &&
#if INET6_ENABLE
ctl->server.service && (strcmp(ctl->server.service, "pop3s"))
#else /* INET6_ENABLE */