From ee108c89b92ae4ae0b35fc1ff38314bb34d3654c Mon Sep 17 00:00:00 2001 From: NotZed Date: Tue, 2 May 2000 17:36:32 +0000 Subject: Fix the offset for the summary when an item is expunged to take account of 2000-05-02 NotZed * 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. svn path=/trunk/; revision=2748 --- camel/providers/mbox/camel-mbox-summary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/providers') 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) { -- cgit v1.2.3