[dovecot-cvs] dovecot/src/lib istream-limit.c, 1.19, 1.20 ostream-crlf.c, 1.13, 1.14

tss at dovecot.org tss at dovecot.org
Thu Mar 1 11:13:57 UTC 2007


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

Modified Files:
	istream-limit.c ostream-crlf.c 
Log Message:
Keep stream_errno updated in filter streams.



Index: istream-limit.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/istream-limit.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- istream-limit.c	6 Feb 2007 10:40:16 -0000	1.19
+++ istream-limit.c	1 Mar 2007 11:13:53 -0000	1.20
@@ -57,6 +57,7 @@
 			if (stream->skip == 0)
 				return -2;
 		}
+		stream->istream.stream_errno = lstream->input->stream_errno;
 		stream->istream.eof = lstream->input->eof;
 		stream->buffer = i_stream_get_data(lstream->input, &pos);
 	} else {

Index: ostream-crlf.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/ostream-crlf.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- ostream-crlf.c	14 Jan 2006 18:47:22 -0000	1.13
+++ ostream-crlf.c	1 Mar 2007 11:13:54 -0000	1.14
@@ -211,6 +211,7 @@
 		}
 		*total_r += left;
 	}
+	cstream->ostream.ostream.stream_errno = cstream->output->stream_errno;
 	cstream->ostream.ostream.offset = cstream->output->offset;
 	return ret;
 }



More information about the dovecot-cvs mailing list