aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/pop3/camel-pop3-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/pop3/camel-pop3-store.c')
-rw-r--r--camel/providers/pop3/camel-pop3-store.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c
index 520d758661..7f716ece68 100644
--- a/camel/providers/pop3/camel-pop3-store.c
+++ b/camel/providers/pop3/camel-pop3-store.c
@@ -307,9 +307,9 @@ pop3_try_authenticate (CamelService *service, const char *errmsg,
l = store->engine->auth;
while (l) {
auth = l->data;
- if (strcmp(auth->authproto, service->url->authmech) == 0) {
+ if (strcmp(auth->authproto, service->url->authmech) == 0)
return try_sasl(store, service->url->authmech, ex) == -1;
- }
+ l = l->next;
}
camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE,