dovecot-2.2: ostream-errno: last_failed_errno wasn't set, causin...

dovecot at dovecot.org dovecot at dovecot.org
Sun Sep 22 04:24:44 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/52d77a3d38b5
changeset: 16812:52d77a3d38b5
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Sep 22 04:24:29 2013 +0300
description:
ostream-errno: last_failed_errno wasn't set, causing problems with some functions.

diffstat:

 src/lib/ostream.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 4f68ac02f46c -r 52d77a3d38b5 src/lib/ostream.c
--- a/src/lib/ostream.c	Sun Sep 22 04:14:23 2013 +0300
+++ b/src/lib/ostream.c	Sun Sep 22 04:24:29 2013 +0300
@@ -557,6 +557,7 @@
 	stream = i_new(struct ostream_private, 1);
 	stream->ostream.closed = TRUE;
 	stream->ostream.stream_errno = stream_errno;
+	stream->ostream.last_failed_errno = stream_errno;
 
 	output = o_stream_create(stream, NULL, -1);
 	o_stream_set_name(output, "(error)");


More information about the dovecot-cvs mailing list