--- src/lib-imap/imap-bodystructure.c | 6 +++--- src/lib-imap/imap-bodystructure.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib-imap/imap-bodystructure.c b/src/lib-imap/imap-bodystructure.c index 8994e48..a349dd6 100644 --- a/src/lib-imap/imap-bodystructure.c +++ b/src/lib-imap/imap-bodystructure.c @@ -263,7 +263,7 @@ void imap_bodystructure_parse_header(pool_t pool, struct message_part *part, t_pop(); } -static void part_write_body_multipart(struct message_part *part, +static void part_write_body_multipart(const struct message_part *part, string_t *str, bool extended) { struct message_part_body_data *data = part->context; @@ -329,7 +329,7 @@ static void part_write_body_multipart(struct message_part *part, } } -static void part_write_body(struct message_part *part, +static void part_write_body(const struct message_part *part, string_t *str, bool extended) { struct message_part_body_data *data = part->context; @@ -486,7 +486,7 @@ bool imap_bodystructure_is_plain_7bit(struct message_part *part) return TRUE; } -void imap_bodystructure_write(struct message_part *part, +void imap_bodystructure_write(const struct message_part *part, string_t *dest, bool extended) { i_assert(part->parent != NULL || part->next == NULL); diff --git a/src/lib-imap/imap-bodystructure.h b/src/lib-imap/imap-bodystructure.h index 93ecbe5..bef79db 100644 --- a/src/lib-imap/imap-bodystructure.h +++ b/src/lib-imap/imap-bodystructure.h @@ -12,7 +12,7 @@ void imap_bodystructure_parse_header(pool_t pool, struct message_part *part, ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" n n NIL NIL NIL) */ bool imap_bodystructure_is_plain_7bit(struct message_part *part); -void imap_bodystructure_write(struct message_part *part, +void imap_bodystructure_write(const struct message_part *part, string_t *dest, bool extended); /* Return BODY part from BODYSTRUCTURE */