aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-05-03 01:36:32 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-03 01:36:32 +0800
commitee108c89b92ae4ae0b35fc1ff38314bb34d3654c (patch)
tree293b8d42e97fa9551509ff4a38e41d17059a3ed1 /camel
parent443225643fc837ad485c2bf845d4bb6865a16bb5 (diff)
downloadgsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar
gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar.gz
gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar.bz2
gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar.lz
gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar.xz
gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar.zst
gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.zip
Fix the offset for the summary when an item is expunged to take account of
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. svn path=/trunk/; revision=2748
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) {