aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
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)