aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorParthasarathi Susarla <sparthasarathi@novell.com>2006-06-12 19:44:04 +0800
committerParthasarathi Susarla <saps@src.gnome.org>2006-06-12 19:44:04 +0800
commit8b8668d8c59b271238cf1065a082612eea76999d (patch)
tree730fa358531a52795f7188118e0f6e0dd5e27aa9 /composer/e-msg-composer.c
parent7add9d957695308274ab31d785e131001387b0b8 (diff)
downloadgsoc2013-evolution-8b8668d8c59b271238cf1065a082612eea76999d.tar
gsoc2013-evolution-8b8668d8c59b271238cf1065a082612eea76999d.tar.gz
gsoc2013-evolution-8b8668d8c59b271238cf1065a082612eea76999d.tar.bz2
gsoc2013-evolution-8b8668d8c59b271238cf1065a082612eea76999d.tar.lz
gsoc2013-evolution-8b8668d8c59b271238cf1065a082612eea76999d.tar.xz
gsoc2013-evolution-8b8668d8c59b271238cf1065a082612eea76999d.tar.zst
gsoc2013-evolution-8b8668d8c59b271238cf1065a082612eea76999d.zip
Fixes bug #177416 on bnc initialise type to "" and not NULL.
2006-06-12 Parthasarathi Susarla <sparthasarathi@novell.com> Fixes bug #177416 on bnc * e-msg-composer.c: (attachment_guess_mime_type): initialise type to "" and not NULL. svn path=/trunk/; revision=32113
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 512acab0dc..e3e90f2dbb 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2900,7 +2900,7 @@ attachment_guess_mime_type (const char *file_name)
{
GnomeVFSFileInfo *info;
GnomeVFSResult result;
- char *type = NULL;
+ char *type = "";
info = gnome_vfs_file_info_new ();
result = gnome_vfs_get_file_info (file_name, info,