aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap4/camel-imap4-store.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-05-11 03:29:57 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-11 03:29:57 +0800
commita4cd02dd230934271f925da4d3ef99de668cff6a (patch)
treebc41ed0d6d9307a11f3756c94b893a25219eac28 /camel/providers/imap4/camel-imap4-store.c
parentee8a9bc3e88aaf0956591b744beafb0d6cb9a3cf (diff)
downloadgsoc2013-evolution-a4cd02dd230934271f925da4d3ef99de668cff6a.tar
gsoc2013-evolution-a4cd02dd230934271f925da4d3ef99de668cff6a.tar.gz
gsoc2013-evolution-a4cd02dd230934271f925da4d3ef99de668cff6a.tar.bz2
gsoc2013-evolution-a4cd02dd230934271f925da4d3ef99de668cff6a.tar.lz
gsoc2013-evolution-a4cd02dd230934271f925da4d3ef99de668cff6a.tar.xz
gsoc2013-evolution-a4cd02dd230934271f925da4d3ef99de668cff6a.tar.zst
gsoc2013-evolution-a4cd02dd230934271f925da4d3ef99de668cff6a.zip
New class for zipping/unzipping gzip streams.
2004-05-10 Jeffrey Stedfast <fejj@novell.com> * camel-mime-filter-gzip.[c,h]: New class for zipping/unzipping gzip streams. * camel-mime-filter-yenc.[c,h]: New class for encoding/decoding the crack known as YEncode. svn path=/trunk/; revision=25847
Diffstat (limited to 'camel/providers/imap4/camel-imap4-store.c')
-rw-r--r--camel/providers/imap4/camel-imap4-store.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/camel/providers/imap4/camel-imap4-store.c b/camel/providers/imap4/camel-imap4-store.c
index aa8dfc0c0e..b7b4b4c358 100644
--- a/camel/providers/imap4/camel-imap4-store.c
+++ b/camel/providers/imap4/camel-imap4-store.c
@@ -999,6 +999,11 @@ imap4_get_folder_info (CamelStore *store, const char *top, guint32 flags, CamelE
char *pattern;
int id, i;
+ if (engine == NULL) {
+ if (!camel_service_connect ((CamelService *) store, ex))
+ return NULL;
+ }
+
if (flags & CAMEL_STORE_FOLDER_INFO_SUBSCRIBED)
cmd = "LSUB";
else