aboutsummaryrefslogtreecommitdiffstats
path: root/camel
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
parent64119bc6be1866141e7a48935d6e6b907608a880 (diff)
downloadgsoc2013-evolution-50b0bd7bdfabb4eac49908f15f2f5212a8074078.tar
gsoc2013-evolution-50b0bd7bdfabb4eac49908f15f2f5212a8074078.tar.gz
gsoc2013-evolution-50b0bd7bdfabb4eac49908f15f2f5212a8074078.tar.bz2
gsoc2013-evolution-50b0bd7bdfabb4eac49908f15f2f5212a8074078.tar.lz
gsoc2013-evolution-50b0bd7bdfabb4eac49908f15f2f5212a8074078.tar.xz
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')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/pop3/camel-pop3-store.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 4a0eaff527..41bb90427e 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-06 Dan Winship <danw@helixcode.com>
+
+ * providers/pop3/camel-pop3-store.c (connect_to_server): Make KPOP
+ work again.
+
2000-09-06 Jeffrey Stedfast <fejj@helixcode.com>
* camel-mime-message.c (camel_mime_message_get_received_date):
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