aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-vee-store.c
diff options
context:
space:
mode:
author9 <NotZed@Ximian.com>2001-10-29 16:24:00 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-29 16:24:00 +0800
commitc43aa966cbac71c6e5dbceb55bb172dcc3687bbf (patch)
tree12a9b86802e1a65afc9049e6d5d81e114b26182e /camel/camel-vee-store.c
parentfa9505a288ebeab16883eb940bd1418f176fc426 (diff)
downloadgsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar.gz
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar.bz2
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar.lz
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar.xz
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar.zst
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.zip
Turn off w() -> warnings.
2001-10-29 <NotZed@Ximian.com> * camel-mime-utils.c: Turn off w() -> warnings. * providers/imap/camel-imap-store.c (rename_folder): Also rename the message cache. (rename_folder): Fix subscribed folders table with rename(s). * providers/imap/camel-imap-folder.c (imap_rename): Implement, rename the cache dir pointer. * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_set_path): New method to set the path used by a message cache. svn path=/trunk/; revision=14327
Diffstat (limited to 'camel/camel-vee-store.c')
-rw-r--r--camel/camel-vee-store.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/camel/camel-vee-store.c b/camel/camel-vee-store.c
index e909671e36..6fe9e31339 100644
--- a/camel/camel-vee-store.c
+++ b/camel/camel-vee-store.c
@@ -167,14 +167,13 @@ static void
build_info(char *name, CamelVeeFolder *folder, struct _build_info *data)
{
CamelFolderInfo *info;
- int toplen, namelen;
-
- namelen = strlen(name);
- toplen = strlen(data->top);
/* check we have to include this one */
if (data->top) {
if (data->flags & CAMEL_STORE_FOLDER_INFO_RECURSIVE) {
+ int namelen = strlen(name);
+ int toplen = strlen(data->top);
+
if (!((namelen == toplen &&
strcmp(name, data->top) == 0)
|| ((namelen > toplen)