[dovecot-cvs] dovecot/src/lib-imap imap-bodystructure.c,1.33,1.34

cras at procontrol.fi cras at procontrol.fi
Tue Apr 1 18:55:51 EEST 2003


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

Modified Files:
	imap-bodystructure.c 
Log Message:
crashfix



Index: imap-bodystructure.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-imap/imap-bodystructure.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- imap-bodystructure.c	26 Mar 2003 17:29:02 -0000	1.33
+++ imap-bodystructure.c	1 Apr 2003 14:55:48 -0000	1.34
@@ -227,7 +227,7 @@
 	struct message_part_body_data *part_data;
 	int parent_rfc822;
 
-	if (hdr == NULL)
+	if (hdr == NULL || hdr->eoh)
 		return;
 
 	parent_rfc822 = part->parent != NULL &&




More information about the dovecot-cvs mailing list