diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/camel-mime-part.c | 4 | ||||
-rw-r--r-- | camel/camel-mime-part.h | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 92bd478802..1d2a31e8f5 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2000-06-05 Dan Winship <danw@helixcode.com> + + * camel-mime-part.c (camel_mime_part_set_disposition): fix + typo/braino (set "Content-Disposition", not "Content-Description") + (camel_mime_part_set_filename): const poison + 2000-06-02 Not Zed <NotZed@HelixCode.com> * camel-mime-utils.c (base64_encode_step): Ick, damn signs! Fix a diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index 49cf6aa0a1..c5169741e5 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -328,7 +328,7 @@ camel_mime_part_set_disposition (CamelMimePart *mime_part, const gchar *disposit text = header_disposition_format(mime_part->disposition); camel_medium_set_header (CAMEL_MEDIUM (mime_part), - "Content-Description", text); + "Content-Disposition", text); g_free(text); } @@ -346,7 +346,7 @@ camel_mime_part_get_disposition (CamelMimePart *mime_part) /* **** Content-Disposition: filename="xxx" */ void -camel_mime_part_set_filename (CamelMimePart *mime_part, gchar *filename) +camel_mime_part_set_filename (CamelMimePart *mime_part, const gchar *filename) { char *str; if (mime_part->disposition == NULL) diff --git a/camel/camel-mime-part.h b/camel/camel-mime-part.h index 9360a96848..00a7bec876 100644 --- a/camel/camel-mime-part.h +++ b/camel/camel-mime-part.h @@ -94,7 +94,7 @@ const gchar *camel_mime_part_get_description (CamelMimePart *mime_part); void camel_mime_part_set_disposition (CamelMimePart *mime_part, const gchar *disposition); const gchar *camel_mime_part_get_disposition (CamelMimePart *mime_part); -void camel_mime_part_set_filename (CamelMimePart *mime_part, gchar *filename); +void camel_mime_part_set_filename (CamelMimePart *mime_part, const gchar *filename); const gchar *camel_mime_part_get_filename (CamelMimePart *mime_part); void camel_mime_part_set_content_id (CamelMimePart *mime_part, const char *contentid); |