aboutsummaryrefslogtreecommitdiffstats
path: root/composer
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
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')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 1834559fc4..548593186a 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2006-05-26 Jeffrey Stedfast <fejj@novell.com>
* e-msg-composer.c (drop_action): If 'str' is empty, continue
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,