aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-12-07 06:30:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-12-07 06:30:28 +0800
commit804acf56c64c6259435e40337bc09f7d294876bd (patch)
tree0b7b9cb8578f077445804ca6bd688fdb831f78a7 /mail/mail-display.c
parentb05cea89b97e1e0d5f01b243d16129615d176b2d (diff)
downloadgsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar.gz
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar.bz2
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar.lz
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar.xz
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar.zst
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.zip
Use e_filename_make_safe (which used to be e_str_make_safe).
2000-12-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (mail_config_folder_to_cachename): Use e_filename_make_safe (which used to be e_str_make_safe). * mail-display.c (make_safe_filename): And here. * message-list.c (message_list_drag_data_get): Here too. svn path=/trunk/; revision=6827
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 323b62b6a8..6f21db8f6c 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -99,8 +99,6 @@ write_data_to_file (CamelMimePart *part, const char *name, gboolean unique)
if (!charset)
charset = "us-ascii";
- fprintf (stderr, "mime part charset = %s\n", charset);
-
charsetfilter = camel_mime_filter_charset_new_convert ("utf-8", charset);
stream_fs = camel_stream_fs_new_with_fd (fd);
@@ -154,7 +152,7 @@ make_safe_filename (const char *prefix, CamelMimePart *part)
p = strrchr (safe, '/') + 1;
if (p)
- e_str_make_safe (p);
+ e_filename_make_safe (p);
return safe;
}