aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-folder.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 897085bba2..61ea104bea 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2002-05-15 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (refresh_folder_info): removed.
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;
}