diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-10-31 12:42:07 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-10-31 12:42:07 +0000 |
commit | 05fa99a5ad08cbb13d47a5021d1c3106a2a51b84 (patch) | |
tree | c1a28c44f00e1a4cb00cc7e40a02adb4957f3547 | |
parent | 9ef66fb02cb22c301a4abfc547a7139951eea4a7 (diff) | |
download | fetchmail-05fa99a5ad08cbb13d47a5021d1c3106a2a51b84.tar.gz fetchmail-05fa99a5ad08cbb13d47a5021d1c3106a2a51b84.tar.bz2 fetchmail-05fa99a5ad08cbb13d47a5021d1c3106a2a51b84.zip |
Whiespace fix.
svn path=/trunk/; revision=3758
-rw-r--r-- | pop3.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -253,10 +253,11 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting) { char *realhost; - realhost = ctl->server.via ? ctl->server.via : ctl->server.pollname; gen_transact(sock, "STLS"); - if (SSLOpen(sock,ctl->sslcert,ctl->sslkey,ctl->sslproto,ctl->sslcertck, ctl->sslcertpath,ctl->sslfingerprint,realhost,ctl->server.pollname) == -1) - { - report(stderr, + realhost = ctl->server.via ? ctl->server.via : ctl->server.pollname; + gen_transact(sock, "STLS"); + if (SSLOpen(sock,ctl->sslcert,ctl->sslkey,ctl->sslproto,ctl->sslcertck, ctl->sslcertpath,ctl->sslfingerprint,realhost,ctl->server.pollname) == -1) + { + report(stderr, GT_("SSL connection failed.\n")); return(PS_AUTHFAIL); } |