From: Patrick Monnerat Date: Tue, 27 Jan 2015 16:34:40 +0000 (+0100) Subject: imap: remove automatic password setting: it breaks external sasl authentication X-Git-Tag: curl-7_41_0~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe79f20957a1e66cd5566236e9e7b873888b0ce0;p=thirdparty%2Fcurl.git imap: remove automatic password setting: it breaks external sasl authentication --- diff --git a/lib/imap.c b/lib/imap.c index 2d037eeb35..661bfc0740 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -133,7 +133,7 @@ const struct Curl_handler Curl_handler_imap = { ZERO_NULL, /* readwrite */ PORT_IMAP, /* defport */ CURLPROTO_IMAP, /* protocol */ - PROTOPT_CLOSEACTION | PROTOPT_NEEDSPWD /* flags */ + PROTOPT_CLOSEACTION /* flags */ }; #ifdef USE_SSL @@ -158,8 +158,7 @@ const struct Curl_handler Curl_handler_imaps = { ZERO_NULL, /* readwrite */ PORT_IMAPS, /* defport */ CURLPROTO_IMAPS, /* protocol */ - PROTOPT_CLOSEACTION | PROTOPT_SSL | - PROTOPT_NEEDSPWD /* flags */ + PROTOPT_CLOSEACTION | PROTOPT_SSL /* flags */ }; #endif