imap: Fixed auth preference not being honored when CAPABILITY not supported
authorSteve Holme <steve_holme@hotmail.com>
Tue, 24 Dec 2013 22:45:25 +0000 (22:45 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 24 Dec 2013 22:50:33 +0000 (22:50 +0000)
commit7fd490732acdccc2c0f490a31a3828fa7a284f63
tree54c2f6b1af4f82e75f0dbf9848e08ac7b218f046
parent0c762f1c92505b1d749f36388ff98406ff07dea0
imap: Fixed auth preference not being honored when CAPABILITY not supported

If a user indicated they preferred to authenticate using a SASL
mechanism, but SASL authentication wasn't supported by the server, curl
would always fall back to clear text when CAPABILITY wasn't supported,
even though the user didn't want to use this.
lib/imap.c