diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-15 11:08:47 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-15 11:08:47 +0800 |
commit | bb596fc991701c32cae58abd14c1f275f8a4e8cb (patch) | |
tree | 1560bc86c8d65645cd8a3ae1e2f4fb61bb2e042b /camel/providers/pop3/camel-pop3-store.c | |
parent | 369d9ddc67a8bf40651e1dbe95d1b6a45996d71c (diff) | |
download | gsoc2013-evolution-bb596fc991701c32cae58abd14c1f275f8a4e8cb.tar gsoc2013-evolution-bb596fc991701c32cae58abd14c1f275f8a4e8cb.tar.gz gsoc2013-evolution-bb596fc991701c32cae58abd14c1f275f8a4e8cb.tar.bz2 gsoc2013-evolution-bb596fc991701c32cae58abd14c1f275f8a4e8cb.tar.lz gsoc2013-evolution-bb596fc991701c32cae58abd14c1f275f8a4e8cb.tar.xz gsoc2013-evolution-bb596fc991701c32cae58abd14c1f275f8a4e8cb.tar.zst gsoc2013-evolution-bb596fc991701c32cae58abd14c1f275f8a4e8cb.zip |
Check to see if we are using "pops" and then set the appropriate SSL
2001-03-14 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-store.c (pop3_connect): Check to see
if we are using "pops" and then set the appropriate SSL settings.
* providers/pop3/libcamelpop3.urls: Add "pops"
* providers/pop3/camel-pop3-provider.c: Defined the pops provider.
(camel_provider_module_init): Register the pops provider.
svn path=/trunk/; revision=8723
Diffstat (limited to 'camel/providers/pop3/camel-pop3-store.c')
-rw-r--r-- | camel/providers/pop3/camel-pop3-store.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/camel/providers/pop3/camel-pop3-store.c b/camel/providers/pop3/camel-pop3-store.c index 5fa80b1d87..b58504dcae 100644 --- a/camel/providers/pop3/camel-pop3-store.c +++ b/camel/providers/pop3/camel-pop3-store.c @@ -459,7 +459,15 @@ pop3_connect (CamelService *service, CamelException *ex) service->url->port = KPOP_PORT; } #endif - + + if (!g_strcasecmp (service->url->protocol, "pops")) { + CamelRemoteStore *rstore = CAMEL_REMOTE_STORE (service); + + /* FIXME: what should this port be?? */ + rstore->default_port = 993; + rstore->use_ssl = TRUE; + } + res = CAMEL_SERVICE_CLASS (parent_class)->connect (service, ex); #ifdef HAVE_KRB4 |