dovecot-2.2-pigeonhole: lib-sieve: Fixed AIX compile issue in me...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Mon Dec 14 17:56:34 UTC 2015
details: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/fb80864d50cf
changeset: 2173:fb80864d50cf
user: Stephan Bosch <stephan at rename-it.nl>
date: Mon Dec 14 18:56:25 2015 +0100
description:
lib-sieve: Fixed AIX compile issue in message body parser.
Should not dereference array_idx() result on the spot.
diffstat:
src/lib-sieve/sieve-message.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 73667f8d9805 -r fb80864d50cf src/lib-sieve/sieve-message.c
--- a/src/lib-sieve/sieve-message.c Mon Dec 14 18:54:33 2015 +0100
+++ b/src/lib-sieve/sieve-message.c Mon Dec 14 18:56:25 2015 +0100
@@ -1208,8 +1208,9 @@
*/
if ( message_rfc822 ) {
i_assert(idx > 0);
- header_part = *array_idx
+ body_part_idx = array_idx_modifiable
(&msgctx->cached_body_parts, idx-1);
+ header_part = *body_part_idx;
} else {
header_part = NULL;
}
More information about the dovecot-cvs
mailing list