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.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c
index e38141d624..558d8a8b38 100644
--- a/camel/providers/pop3/camel-pop3-store.c
+++ b/camel/providers/pop3/camel-pop3-store.c
@@ -112,6 +112,8 @@ camel_pop3_store_init (gpointer object, gpointer klass)
CamelRemoteStore *remote_store = CAMEL_REMOTE_STORE (object);
remote_store->default_port = 110;
+ /* FIXME: what should this port be?? */
+ remote_store->default_ssl_port = 995;
}
CamelType
@@ -419,14 +421,6 @@ pop3_connect (CamelService *service, CamelException *ex)
}
#endif
- if (!g_strcasecmp (service->url->protocol, "spop")) {
- CamelRemoteStore *rstore = CAMEL_REMOTE_STORE (service);
-
- /* FIXME: what should this port be?? */
- rstore->default_port = 995;
- rstore->use_ssl = TRUE;
- }
-
res = CAMEL_SERVICE_CLASS (parent_class)->connect (service, ex);
#ifdef HAVE_KRB4