[dovecot-cvs] dovecot/src/lib-index/mbox mbox-index.c,1.74,1.75

cras at procontrol.fi cras at procontrol.fi
Mon May 19 10:56:48 EEST 2003


Update of /home/cvs/dovecot/src/lib-index/mbox
In directory danu:/tmp/cvs-serv4203/lib-index/mbox

Modified Files:
	mbox-index.c 
Log Message:
crahsfix



Index: mbox-index.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mbox/mbox-index.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- mbox-index.c	18 May 2003 12:23:03 -0000	1.74
+++ mbox-index.c	19 May 2003 06:56:46 -0000	1.75
@@ -230,7 +230,8 @@
 		if (pos == len || value[pos] == ' ' || value[pos] == '\t') {
 			if (start != pos) {
 				flag = t_strdup_until(value+start, value+pos);
-				if (buffer_append(buf, flag, sizeof(flag)) == 0)
+				if (buffer_append(buf, &flag,
+						  sizeof(flag)) == 0)
 					break;
 			}
 			start = pos+1;



More information about the dovecot-cvs mailing list