diff options
author | Peter Williams <peterw@ximian.com> | 2002-07-27 01:03:02 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2002-07-27 01:03:02 +0800 |
commit | 1363bc081251558d0490ecbbecb151fba008fc59 (patch) | |
tree | cb35d7a174760a509150f24d7d6cbc8a62694583 /camel/providers/local/camel-mbox-store.c | |
parent | e40b1868be45996f361fce9c1ea30dacd03306b2 (diff) | |
download | gsoc2013-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.c | 7 |
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) { |