aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/nntp
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-09-22 23:00:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-09-22 23:00:59 +0800
commit4ba952503e20bb6a2ced1e4f64b7df184333a8f6 (patch)
tree7bbc5ebba8ef2400b7fe48da708c86fa90817301 /camel/providers/nntp
parentc5a06d54f661243c0775dd3d40e173e661616c1b (diff)
downloadgsoc2013-evolution-4ba952503e20bb6a2ced1e4f64b7df184333a8f6.tar.gz
gsoc2013-evolution-4ba952503e20bb6a2ced1e4f64b7df184333a8f6.tar.zst
gsoc2013-evolution-4ba952503e20bb6a2ced1e4f64b7df184333a8f6.zip
Fix the code that creates a new ssl stream to pass the correct arguments
2003-09-22 Jeffrey Stedfast <fejj@ximian.com> * providers/nntp/camel-nntp-store.c (connect_to_server): Fix the code that creates a new ssl stream to pass the correct arguments and the proper flags. * providers/imapp/camel-imapp-folder.c (imap_sync): Cast the CamelFolder to a CamelIMAPPFolder to hush some compiler warnings. * camel-mime-utils.h: Define a struct _CamelContentDisposition (allows the imapp code to compile) * providers/imapp/camel-imapp-driver.c: #include <string.h> svn path=/trunk/; revision=22635
Diffstat (limited to 'camel/providers/nntp')
-rw-r--r--camel/providers/nntp/camel-nntp-store.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/nntp/camel-nntp-store.c b/camel/providers/nntp/camel-nntp-store.c
index a04857e8df..531d4aefdf 100644
--- a/camel/providers/nntp/camel-nntp-store.c
+++ b/camel/providers/nntp/camel-nntp-store.c
@@ -35,7 +35,7 @@
#include <errno.h>
#include <camel/camel-url.h>
-#include <camel/string-utils.h>
+#include <camel/camel-string-utils.h>
#include <camel/camel-session.h>
#include <camel/camel-tcp-stream-raw.h>
#include <camel/camel-tcp-stream-ssl.h>
@@ -112,7 +112,7 @@ connect_to_server (CamelService *service, int ssl_mode, CamelException *ex)
#ifdef HAVE_SSL
if (ssl_mode != USE_SSL_NEVER) {
port = service->url->port ? service->url->port : NNTPS_PORT;
- tcp_stream = camel_tcp_stream_ssl_new (service, service->url->host);
+ tcp_stream = camel_tcp_stream_ssl_new (service->session, service->url->host, CAMEL_TCP_STREAM_SSL_ENABLE_SSL2 | CAMEL_TCP_STREAM_SSL_ENABLE_SSL3);
} else {
tcp_stream = camel_tcp_stream_raw_new ();
}