[pan2: 8/68] FIXED: Bug135734 Change default mime-type for incomming attachments.
- From: Petr Kovář <pmkovar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2: 8/68] FIXED: Bug135734 Change default mime-type for incomming attachments.
- Date: Tue, 8 Feb 2011 22:58:42 +0000 (UTC)
commit 531b079404b05cf81538f105dc881ce45f66f9ff
Author: K. Haley <haleykd users sf net>
Date: Sat Jun 20 22:35:26 2009 -0600
FIXED: Bug135734 Change default mime-type for incomming attachments.
Assume that attachments in non-mime messages are binary so the filename
and type will be displayed.
pan/usenet-utils/mime-utils.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pan/usenet-utils/mime-utils.cc b/pan/usenet-utils/mime-utils.cc
index 80a5546..4634445 100644
--- a/pan/usenet-utils/mime-utils.cc
+++ b/pan/usenet-utils/mime-utils.cc
@@ -711,8 +711,8 @@ mime :: guess_part_type_from_filename (const char * filename,
}
if (*setme_type == NULL) {
- *setme_type = "text";
- *setme_subtype = "plain";
+ *setme_type = "application";
+ *setme_subtype = "octet-stream";
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]