dovecot-2.2-pigeonhole: lib-sieve: message body: Fixed erroneous...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Sun Jan 3 15:35:16 UTC 2016
details: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/dc9bf28c241b
changeset: 2194:dc9bf28c241b
user: Stephan Bosch <stephan at rename-it.nl>
date: Sun Jan 03 16:32:27 2016 +0100
description:
lib-sieve: message body: Fixed erroneous changes to the message part tree structure performed when re-parsing the message.
diffstat:
src/lib-sieve/sieve-message.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r d6dd01a2d367 -r dc9bf28c241b src/lib-sieve/sieve-message.c
--- a/src/lib-sieve/sieve-message.c Sun Jan 03 16:29:30 2016 +0100
+++ b/src/lib-sieve/sieve-message.c Sun Jan 03 16:32:27 2016 +0100
@@ -1205,12 +1205,12 @@
struct sieve_message_part *child = parent->children;
while (child->next != NULL && child != body_part)
child = child->next;
- if (child->next == NULL)
+ if (child != body_part)
child->next = body_part;
}
}
- last_part = body_part;
}
+ last_part = body_part;
/* If this is message/rfc822 content, retain the enveloping part for
* storing headers as content.
More information about the dovecot-cvs
mailing list