aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/mbox/camel-mbox-summary.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/mbox/camel-mbox-summary.c')
-rw-r--r--camel/providers/mbox/camel-mbox-summary.c2
1 files changed, 1 insertions, 1 deletions
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) {