aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/pop3/camel-pop3-store.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-09-08 00:21:41 +0800
committerDan Winship <danw@src.gnome.org>2000-09-08 00:21:41 +0800
commit50b0bd7bdfabb4eac49908f15f2f5212a8074078 (patch)
treea1e8367854daf0e6e16eab2095ea99684e6c9db5 /camel/providers/pop3/camel-pop3-store.c
parent64119bc6be1866141e7a48935d6e6b907608a880 (diff)
downloadgsoc2013-evolution-50b0bd7bdfabb4eac49908f15f2f5212a8074078.tar.gz
gsoc2013-evolution-50b0bd7bdfabb4eac49908f15f2f5212a8074078.tar.zst
gsoc2013-evolution-50b0bd7bdfabb4eac49908f15f2f5212a8074078.zip
Make KPOP work again.
* providers/pop3/camel-pop3-store.c (connect_to_server): Make KPOP work again. svn path=/trunk/; revision=5232
Diffstat (limited to 'camel/providers/pop3/camel-pop3-store.c')
-rw-r--r--camel/providers/pop3/camel-pop3-store.c3
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