[dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c, 1.32, 1.33

cras at dovecot.org cras at dovecot.org
Sat Jul 31 03:33:55 EEST 2004


Update of /home/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv25219/lib-storage/index

Modified Files:
	index-mail-headers.c 
Log Message:
Added struct message_header_line.middle and middle_len to contain the ':'
in header and whitespace around it.



Index: index-mail-headers.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-mail-headers.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- index-mail-headers.c	23 Jul 2004 16:28:40 -0000	1.32
+++ index-mail-headers.c	31 Jul 2004 00:33:53 -0000	1.33
@@ -285,7 +285,7 @@
 		data->parse_line.start_pos = str_len(mail->header_data);
 		data->parse_line.line_num = data->parse_line_num;
 		str_append(mail->header_data, hdr->name);
-		str_append(mail->header_data, ": ");
+		str_append_n(mail->header_data, hdr->middle, hdr->middle_len);
 
 		if (first_hdr) {
 			/* save the offset to first header */



More information about the dovecot-cvs mailing list