aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/local/camel-mbox-store.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-07-27 01:03:02 +0800
committerPeter Williams <peterw@src.gnome.org>2002-07-27 01:03:02 +0800
commit1363bc081251558d0490ecbbecb151fba008fc59 (patch)
treecb35d7a174760a509150f24d7d6cbc8a62694583 /camel/providers/local/camel-mbox-store.c
parente40b1868be45996f361fce9c1ea30dacd03306b2 (diff)
downloadgsoc2013-evolution-1363bc081251558d0490ecbbecb151fba008fc59.tar.gz
gsoc2013-evolution-1363bc081251558d0490ecbbecb151fba008fc59.tar.zst
gsoc2013-evolution-1363bc081251558d0490ecbbecb151fba008fc59.zip
Revert Jeff's previous change, it broke local folders. Uninitialized
2002-07-26 Peter Williams <peterw@ximian.com> * Revert Jeff's previous change, it broke local folders. Uninitialized exceptions or something. svn path=/trunk/; revision=17605
Diffstat (limited to 'camel/providers/local/camel-mbox-store.c')
-rw-r--r--camel/providers/local/camel-mbox-store.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c
index df6709c699..3333580766 100644
--- a/camel/providers/local/camel-mbox-store.c
+++ b/camel/providers/local/camel-mbox-store.c
@@ -80,10 +80,11 @@ get_folder(CamelStore *store, const char *folder_name, guint32 flags, CamelExcep
{
char *name;
struct stat st;
-
- if (!((CamelStoreClass *)parent_class)->get_folder(store, folder_name, flags, ex))
+
+ (void) ((CamelStoreClass *)parent_class)->get_folder(store, folder_name, flags, ex);
+ if (camel_exception_is_set(ex))
return NULL;
-
+
name = g_strdup_printf("%s%s", CAMEL_LOCAL_STORE(store)->toplevel_dir, folder_name);
if (stat(name, &st) == -1) {