[dovecot-cvs] dovecot/src/lib-imap imap-bodystructure.c,1.37,1.38
    cras at procontrol.fi 
    cras at procontrol.fi
       
    Sun Jul 13 05:08:12 EEST 2003
    
        - Previous message: [dovecot-cvs] 
	dovecot/src/master auth-process.c,1.47,1.48 common.h,1.16,1.17
	mail-process.c,1.26,1.27 main.c,1.45,1.46
	master-settings.c,1.21,1.22 ssl-init.c,1.11,1.12
- Next message: [dovecot-cvs] dovecot/src/lib-mail message-parser.c,1.43,1.44
	message-parser.h,1.20,1.21
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
  
Update of /home/cvs/dovecot/src/lib-imap
In directory danu:/tmp/cvs-serv17838/lib-imap
Modified Files:
	imap-bodystructure.c 
Log Message:
Ignore Content-* headers if there's no MIME-Version header. Note that this
change breaks cached message parts in indexes.
Index: imap-bodystructure.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-imap/imap-bodystructure.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- imap-bodystructure.c	2 Jul 2003 00:57:25 -0000	1.37
+++ imap-bodystructure.c	13 Jul 2003 01:08:10 -0000	1.38
@@ -260,7 +260,8 @@
 
 	t_push();
 
-	parse_content_header(part_data, hdr, pool);
+	if ((part->flags & MESSAGE_PART_FLAG_IS_MIME) != 0)
+		parse_content_header(part_data, hdr, pool);
 
 	if (parent_rfc822) {
 		/* message/rfc822, we need the envelope */
    
    
        
	- Previous message: [dovecot-cvs] 
	dovecot/src/master auth-process.c,1.47,1.48 common.h,1.16,1.17
	mail-process.c,1.26,1.27 main.c,1.45,1.46
	master-settings.c,1.21,1.22 ssl-init.c,1.11,1.12
- Next message: [dovecot-cvs] dovecot/src/lib-mail message-parser.c,1.43,1.44
	message-parser.h,1.20,1.21
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
More information about the dovecot-cvs
mailing list