aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-06 03:04:03 +0800
committerDan Winship <danw@src.gnome.org>2000-06-06 03:04:03 +0800
commitfeead5b17d705f9b2587a11145e86e1a5610f491 (patch)
tree8485653ec8ef61ddb059649abea3bd2f1f826152 /camel/camel-mime-part.c
parentfee72f2ced1d37bc239a1297469988efb087374d (diff)
downloadgsoc2013-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
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r--camel/camel-mime-part.c4
1 files changed, 2 insertions, 2 deletions
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)