aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index a1a8daa3c1..4b3855e73f 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -459,7 +459,7 @@ try_auth (CamelImapStore *store, const char *mech, CamelException *ex)
if (!resp)
goto lose;
- sasl_resp = camel_sasl_challenge_base64 (sasl, resp + 2, ex);
+ sasl_resp = camel_sasl_challenge_base64 (sasl, imap_next_word (resp), ex);
g_free (resp);
if (camel_exception_is_set (ex))
goto break_and_lose;