[dovecot-cvs] dovecot/src/lib buffer.c,1.16,1.17

cras at dovecot.org cras at dovecot.org
Sun Sep 5 20:33:22 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv7624

Modified Files:
	buffer.c 
Log Message:
buffer_reset() was broken..



Index: buffer.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/buffer.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- buffer.c	18 Aug 2004 00:59:47 -0000	1.16
+++ buffer.c	5 Sep 2004 17:33:19 -0000	1.17
@@ -163,7 +163,7 @@
 {
 	struct real_buffer *buf = (struct real_buffer *)_buf;
 
-	memset(buf, 0, I_MAX(buf->used, buf->dirty));
+	memset(buf->w_buffer, 0, I_MAX(buf->used, buf->dirty));
 	buf->dirty = 0;
 	buf->used = 0;
 }



More information about the dovecot-cvs mailing list