diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/pop3/camel-pop3-store.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c index f27c373bab..3219d4cfc3 100644 --- a/camel/providers/pop3/camel-pop3-store.c +++ b/camel/providers/pop3/camel-pop3-store.c @@ -185,7 +185,8 @@ connect_to_server (CamelService *service, /*gboolean real, */CamelException *ex) char *buf, *apoptime, *apopend; gint status; #ifdef HAVE_KRB4 - gboolean kpop = (service->url->port == KPOP_PORT); + gboolean kpop = service->url->authmech && + !strcmp (service->url->authmech, "+KPOP"); #endif #ifdef HAVE_KRB4 |