From feead5b17d705f9b2587a11145e86e1a5610f491 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 5 Jun 2000 19:04:03 +0000 Subject: fix typo/braino (set "Content-Disposition", not "Content-Description") * 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 svn path=/trunk/; revision=3424 --- camel/ChangeLog | 6 ++++++ camel/camel-mime-part.c | 4 ++-- camel/camel-mime-part.h | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'camel') 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 + + * 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 * 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); -- cgit