aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/mbox/camel-mbox-summary.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 4ed6f015e9..8499c97b26 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2000-05-02 NotZed <NotZed@HelixCode.com>
+
+ * providers/mbox/camel-mbox-summary.c
+ (camel_mbox_summary_expunge): Fix the offset for the summary when
+ an item is expunged to take account of the From line.
+
2000-05-01 NotZed <NotZed@HelixCode.com>
* providers/mbox/camel-mbox-folder.h (CamelMboxFolder): Removed
diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c
index 754f211dfe..35b7945e49 100644
--- a/camel/providers/mbox/camel-mbox-summary.c
+++ b/camel/providers/mbox/camel-mbox-summary.c
@@ -1423,9 +1423,9 @@ camel_mbox_summary_expunge(CamelMboxSummary *s)
if (info->info.flags & CAMEL_MESSAGE_DELETED) {
printf("Deleting message: %s\n", info->info.uid);
camel_mbox_summary_copy_block(fd, fdout, last_write, last_start-last_write);
+ offset += (content->endpos - last_start);
last_write = content->endpos;
last_start = last_write;
- offset += (content->endpos - content->pos);
/* remove this message from the index */
if (s->index) {