[dovecot-cvs] dovecot/src/lib-imap imap-bodystructure.c, 1.59, 1.60 imap-bodystructure.h, 1.12, 1.13
tss at dovecot.org
tss at dovecot.org
Thu Mar 15 18:50:41 EET 2007
Update of /var/lib/cvs/dovecot/src/lib-imap
In directory talvi:/tmp/cvs-serv17469/lib-imap
Modified Files:
imap-bodystructure.c imap-bodystructure.h
Log Message:
Make imap_bodystructure_write() parameter constant. Patch by Max Kellermann
Index: imap-bodystructure.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-imap/imap-bodystructure.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- imap-bodystructure.c 15 Dec 2006 16:55:37 -0000 1.59
+++ imap-bodystructure.c 15 Mar 2007 16:50:39 -0000 1.60
@@ -263,7 +263,7 @@
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(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 @@
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);
Index: imap-bodystructure.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-imap/imap-bodystructure.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- imap-bodystructure.h 13 Jan 2006 20:26:09 -0000 1.12
+++ imap-bodystructure.h 15 Mar 2007 16:50:39 -0000 1.13
@@ -12,7 +12,7 @@
("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 */
More information about the dovecot-cvs
mailing list