dovecot-2.2: iostream_rawlog_create_path(): Avoid double-closing...

dovecot at dovecot.org dovecot at dovecot.org
Wed Aug 29 16:45:37 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/407ea0cd54ee
changeset: 14968:407ea0cd54ee
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Aug 29 16:45:25 2012 +0300
description:
iostream_rawlog_create_path(): Avoid double-closing the rawlog fd

diffstat:

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

diffs (11 lines):

diff -r 8ce6d41d2d41 -r 407ea0cd54ee src/lib/iostream-rawlog.c
--- a/src/lib/iostream-rawlog.c	Wed Aug 29 16:18:56 2012 +0300
+++ b/src/lib/iostream-rawlog.c	Wed Aug 29 16:45:25 2012 +0300
@@ -200,7 +200,6 @@
 	old_input = *input;
 	old_output = *output;
 	*input = i_stream_create_rawlog(old_input, path, fd,
-					IOSTREAM_RAWLOG_FLAG_AUTOCLOSE |
 					IOSTREAM_RAWLOG_FLAG_BUFFERED);
 	*output = o_stream_create_rawlog(old_output, path, fd,
 					 IOSTREAM_RAWLOG_FLAG_AUTOCLOSE |


More information about the dovecot-cvs mailing list