diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-16 02:38:20 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-16 02:38:20 +0800 |
commit | 1fef55b2d38c2e26a1c0b8b6f9f3a05e194910d9 (patch) | |
tree | 025f2609a2351fcc882d8bd643bf1e8f0674652b /camel/providers | |
parent | e0eb388a32b8664de231d94cf5bb2839fffa4515 (diff) | |
download | gsoc2013-evolution-1fef55b2d38c2e26a1c0b8b6f9f3a05e194910d9.tar gsoc2013-evolution-1fef55b2d38c2e26a1c0b8b6f9f3a05e194910d9.tar.gz gsoc2013-evolution-1fef55b2d38c2e26a1c0b8b6f9f3a05e194910d9.tar.bz2 gsoc2013-evolution-1fef55b2d38c2e26a1c0b8b6f9f3a05e194910d9.tar.lz gsoc2013-evolution-1fef55b2d38c2e26a1c0b8b6f9f3a05e194910d9.tar.xz gsoc2013-evolution-1fef55b2d38c2e26a1c0b8b6f9f3a05e194910d9.tar.zst gsoc2013-evolution-1fef55b2d38c2e26a1c0b8b6f9f3a05e194910d9.zip |
If the part_spec is an empty string for a leaft part, use "1" since we
2002-05-15 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (get_content): If the
part_spec is an empty string for a leaft part, use "1" since we
don't actually want to get the raw message headers too.
svn path=/trunk/; revision=16923
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 44161f7868..a957e1f776 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -1489,8 +1489,6 @@ part_spec_push (struct _part_spec_stack **stack, int part) { struct _part_spec_stack *node; - printf ("pushing %d\n", part); - node = g_new (struct _part_spec_stack, 1); node->parent = *stack; node->part = part; @@ -1630,7 +1628,7 @@ get_content (CamelImapFolder *imap_folder, const char *uid, g_free (part_spec); return content; } else { - content = camel_imap_wrapper_new (imap_folder, ci->type, uid, part_spec, part); + content = camel_imap_wrapper_new (imap_folder, ci->type, uid, *part_spec ? part_spec : "1", part); g_free (part_spec); return content; } |