diff options
author | Dan Winship <danw@src.gnome.org> | 2000-06-06 03:04:03 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-06-06 03:04:03 +0800 |
commit | feead5b17d705f9b2587a11145e86e1a5610f491 (patch) | |
tree | 8485653ec8ef61ddb059649abea3bd2f1f826152 | |
parent | fee72f2ced1d37bc239a1297469988efb087374d (diff) | |
download | gsoc2013-evolution-feead5b17d705f9b2587a11145e86e1a5610f491.tar gsoc2013-evolution-feead5b17d705f9b2587a11145e86e1a5610f491.tar.gz gsoc2013-evolution-feead5b17d705f9b2587a11145e86e1a5610f491.tar.bz2 gsoc2013-evolution-feead5b17d705f9b2587a11145e86e1a5610f491.tar.lz gsoc2013-evolution-feead5b17d705f9b2587a11145e86e1a5610f491.tar.xz gsoc2013-evolution-feead5b17d705f9b2587a11145e86e1a5610f491.tar.zst gsoc2013-evolution-feead5b17d705f9b2587a11145e86e1a5610f491.zip |
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
-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); |