aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/imap.c b/lib/imap.c
index 3cb1e8f84..c257d76cc 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -2334,7 +2334,7 @@ static CURLcode imap_parse_url_options(struct connectdata *conn)
const char *value = ptr + 1;
if(strequal(value, "*")) {
- imapc->preftype = IMAP_TYPE_SASL;
+ imapc->preftype = IMAP_TYPE_ANY;
imapc->prefmech = SASL_AUTH_ANY;
}
else if(strequal(value, SASL_MECH_STRING_LOGIN)) {