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 e4185a3a1..3f881ee0e 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -917,7 +917,7 @@ static CURLcode imap_state_capability_resp(struct connectdata *conn,
result = imap_perform_authentication(conn);
}
else
- result = imap_perform_login(conn);
+ result = imap_perform_authentication(conn);
return result;
}