aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2002-05-15 10:42:50 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-05-15 10:42:50 +0800
commit90ca5a465b4651e7656ba60307628679d43ef393 (patch)
tree8b700339996921ae95f78b2a599565cc0fffe6b8
parent50f471dffcd9c8d6da7497b625f84b5cb59c88d5 (diff)
downloadgsoc2013-evolution-90ca5a465b4651e7656ba60307628679d43ef393.tar.gz
gsoc2013-evolution-90ca5a465b4651e7656ba60307628679d43ef393.tar.zst
gsoc2013-evolution-90ca5a465b4651e7656ba60307628679d43ef393.zip
fixed a simple logic mistake
svn path=/trunk/; revision=16795
-rw-r--r--camel/providers/imap/camel-imap-folder.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index f78d38eb35..44161f7868 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -1536,9 +1536,12 @@ content_info_get_part_spec (CamelMessageContentInfo *ci)
child = child->next;
}
- len += (part / 10) + 2;
part_spec_push (&stack, part);
+ len++;
+ while ((part = part / 10))
+ len++;
+
node = node->parent;
}