changeset 1257:cee5e11b08f3 HEAD

final fix: text-content subtype wasn't defaulted to plain
author Timo Sirainen <tss@iki.fi>
date Tue, 25 Feb 2003 23:05:52 +0200
parents cb1782907902
children 8672f9897066
files src/lib-imap/imap-bodystructure.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-imap/imap-bodystructure.c	Tue Feb 25 22:58:36 2003 +0200
+++ b/src/lib-imap/imap-bodystructure.c	Tue Feb 25 23:05:52 2003 +0200
@@ -342,7 +342,7 @@
 		str_append(str, data->content_subtype);
 	else {
 		if (data->content_type == NULL ||
-		    strcasecmp(data->content_type, "text") == 0)
+		    strcasecmp(data->content_type, "\"text\"") == 0)
 			str_append(str, "\"plain\"");
 		else
 			str_append(str, "\"unknown\"");