aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/local/camel-local-store.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-07-26 11:38:49 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-07-26 11:38:49 +0800
commitd9936675a5ebb50957dddd0e9568c1f2bcdf16ca (patch)
tree9e2226ad1e1e18cea988d177fae9c4c424d31295 /camel/providers/local/camel-local-store.c
parentbb86fd83943d1a88ee921cf746f720dfbc08a4b3 (diff)
downloadgsoc2013-evolution-d9936675a5ebb50957dddd0e9568c1f2bcdf16ca.tar
gsoc2013-evolution-d9936675a5ebb50957dddd0e9568c1f2bcdf16ca.tar.gz
gsoc2013-evolution-d9936675a5ebb50957dddd0e9568c1f2bcdf16ca.tar.bz2
gsoc2013-evolution-d9936675a5ebb50957dddd0e9568c1f2bcdf16ca.tar.lz
gsoc2013-evolution-d9936675a5ebb50957dddd0e9568c1f2bcdf16ca.tar.xz
gsoc2013-evolution-d9936675a5ebb50957dddd0e9568c1f2bcdf16ca.tar.zst
gsoc2013-evolution-d9936675a5ebb50957dddd0e9568c1f2bcdf16ca.zip
If we're gonna do an elite hack, lets do it right.
2002-07-25 Jeffrey Stedfast <fejj@ximian.com> If we're gonna do an elite hack, lets do it right. * providers/local/camel-local-store.c (get_folder): On success, return non-NULL so that our caller doesn't have to depend on 'ex' being non-NULL in order to work correctly. * providers/local/camel-mbox-store.c (get_folder): Don't bother checking if an exception was set, just use the return value of camel-local-store's get_folder. * providers/local/camel-maildir-store.c (get_folder): Same as the mbox change. * providers/local/camel-mh-store.c (get_folder): Here too. svn path=/trunk/; revision=17599
Diffstat (limited to 'camel/providers/local/camel-local-store.c')
-rw-r--r--camel/providers/local/camel-local-store.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/local/camel-local-store.c b/camel/providers/local/camel-local-store.c
index a0d3708346..419bfdae72 100644
--- a/camel/providers/local/camel-local-store.c
+++ b/camel/providers/local/camel-local-store.c
@@ -174,8 +174,8 @@ get_folder(CamelStore * store, const char *folder_name, guint32 flags, CamelExce
if (slash)
*slash = '/';
} while (slash);
-
- return NULL;
+
+ return (CamelFolder *) 0xdeadbeef;
}
static CamelFolder *