aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/pop3/camel-pop3-store.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-02-09 19:31:18 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-02-09 19:31:18 +0800
commiteeb0091ac1b0e39b1e20d242fd5bc906b2039c1f (patch)
tree69a0de1884140edb6d150836906c97efd1543a67 /camel/providers/pop3/camel-pop3-store.c
parentd5ce9c330312557a3109fa8ea04c3e267e5392e4 (diff)
downloadgsoc2013-evolution-eeb0091ac1b0e39b1e20d242fd5bc906b2039c1f.tar
gsoc2013-evolution-eeb0091ac1b0e39b1e20d242fd5bc906b2039c1f.tar.gz
gsoc2013-evolution-eeb0091ac1b0e39b1e20d242fd5bc906b2039c1f.tar.bz2
gsoc2013-evolution-eeb0091ac1b0e39b1e20d242fd5bc906b2039c1f.tar.lz
gsoc2013-evolution-eeb0091ac1b0e39b1e20d242fd5bc906b2039c1f.tar.xz
gsoc2013-evolution-eeb0091ac1b0e39b1e20d242fd5bc906b2039c1f.tar.zst
gsoc2013-evolution-eeb0091ac1b0e39b1e20d242fd5bc906b2039c1f.zip
Duh, when we grab the apop stamp it needs to include the <> as well, I
2002-02-09 Not Zed <NotZed@Ximian.com> * providers/pop3/camel-pop3-engine.c (get_capabilities): Duh, when we grab the apop stamp it needs to include the <> as well, I even read the rfc, silly me. * providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Doh, when iterating the authtype list, it helps to goto the next node. Found with help from miles. svn path=/trunk/; revision=15636
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,