[dovecot-cvs] dovecot/src/lib-imap imap-bodystructure.c,1.31,1.32

cras at procontrol.fi cras at procontrol.fi
Tue Feb 25 23:05:54 EET 2003


Update of /home/cvs/dovecot/src/lib-imap
In directory danu:/tmp/cvs-serv31817/lib-imap

Modified Files:
	imap-bodystructure.c 
Log Message:
final fix: text-content subtype wasn't defaulted to plain



Index: imap-bodystructure.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-imap/imap-bodystructure.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- imap-bodystructure.c	25 Feb 2003 20:55:52 -0000	1.31
+++ imap-bodystructure.c	25 Feb 2003 21:05:52 -0000	1.32
@@ -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\"");




More information about the dovecot-cvs mailing list