aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-identify.c7
2 files changed, 8 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 0615c9ca31..61a812139d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-26 Dan Winship <danw@ximian.com>
+
+ * mail-identify.c (mail_identify_mime_part): Fix an uninitialized
+ variable use.
+
2001-01-26 Jason Leach <jasonleach@usa.net>
(Fixing an old FIXME)
diff --git a/mail/mail-identify.c b/mail/mail-identify.c
index 61b2d1fe10..e8b5f96a48 100644
--- a/mail/mail-identify.c
+++ b/mail/mail-identify.c
@@ -78,11 +78,10 @@ mail_identify_mime_part (CamelMimePart *part, MailDisplay *md)
} else
type = NULL;
camel_object_unref (CAMEL_OBJECT (memstream));
- }
-
- if (type)
- return g_strdup (type);
+ if (type)
+ return g_strdup (type);
+ }
/* Another possibility to try is the x-mac-type / x-mac-creator
* parameter to Content-Type used by some Mac email clients. That