dovecot-2.2: lib: o_stream_create_rawlog_from_stream() should pr...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Mar 20 19:02:04 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/ebc2672a30f6
changeset: 18378:ebc2672a30f6
user: Timo Sirainen <tss at iki.fi>
date: Fri Mar 20 21:01:08 2015 +0200
description:
lib: o_stream_create_rawlog_from_stream() should preserve the output stream fd.
ostream-rawlog is just a passthrough stream after all.
diffstat:
src/lib/ostream-rawlog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (11 lines):
diff -r b84f4b881b88 -r ebc2672a30f6 src/lib/ostream-rawlog.c
--- a/src/lib/ostream-rawlog.c Fri Mar 20 20:46:52 2015 +0200
+++ b/src/lib/ostream-rawlog.c Fri Mar 20 21:01:08 2015 +0200
@@ -80,5 +80,6 @@
rstream->riostream.rawlog_output = rawlog_output;
iostream_rawlog_init(&rstream->riostream, flags, FALSE);
- return o_stream_create(&rstream->ostream, output, -1);
+ return o_stream_create(&rstream->ostream, output,
+ o_stream_get_fd(output));
}
More information about the dovecot-cvs
mailing list