[dovecot-cvs] dovecot/src/lib-mail istream-header-filter.c, 1.26, 1.27

cras at dovecot.org cras at dovecot.org
Tue Jun 28 03:07:58 EEST 2005


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

Modified Files:
	istream-header-filter.c 
Log Message:
EOF change fix. Should finally properly fix APPEND.



Index: istream-header-filter.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-mail/istream-header-filter.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- istream-header-filter.c	8 Apr 2005 12:14:42 -0000	1.26
+++ istream-header-filter.c	28 Jun 2005 00:07:56 -0000	1.27
@@ -153,7 +153,8 @@
 		}
 	}
 
-	mstream->istream.istream.eof = mstream->input->eof;
+	/* don't copy eof here because we're only returning headers here.
+	   the body will be returned in separate read() call. */
 	mstream->istream.buffer = buffer_get_data(mstream->hdr_buf, &pos);
 	ret = (ssize_t)(pos - mstream->istream.pos - mstream->istream.skip);
 	mstream->istream.pos = pos;



More information about the dovecot-cvs mailing list