aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imapp
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/imapp
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/imapp')
-rw-r--r--camel/providers/imapp/camel-imapp-driver.c5
-rw-r--r--camel/providers/imapp/camel-imapp-folder.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/camel/providers/imapp/camel-imapp-driver.c b/camel/providers/imapp/camel-imapp-driver.c
index b0644dc199..106e98fbb3 100644
--- a/camel/providers/imapp/camel-imapp-driver.c
+++ b/camel/providers/imapp/camel-imapp-driver.c
@@ -1,8 +1,11 @@
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
+#include <string.h>
#include <stdio.h>
#include <ctype.h>
diff --git a/camel/providers/imapp/camel-imapp-folder.c b/camel/providers/imapp/camel-imapp-folder.c
index 19f3795056..967ab541f6 100644
--- a/camel/providers/imapp/camel-imapp-folder.c
+++ b/camel/providers/imapp/camel-imapp-folder.c
@@ -34,6 +34,7 @@
#include "camel/camel-operation.h"
#include "camel/camel-data-cache.h"
#include "camel/camel-session.h"
+#include "camel/camel-file-utils.h"
#include "camel-imapp-store.h"
#include "camel-imapp-folder.h"
@@ -177,7 +178,7 @@ imap_refresh_info (CamelFolder *folder, CamelException *ex)
static void
imap_sync (CamelFolder *folder, gboolean expunge, CamelException *ex)
{
- camel_imapp_driver_sync(((CamelIMAPPStore *)(folder->parent_store))->driver, expunge, folder);
+ camel_imapp_driver_sync(((CamelIMAPPStore *)(folder->parent_store))->driver, expunge, (CamelIMAPPFolder *) folder);
}
static CamelMimeMessage *