dovecot-2.2: iostream-rawlog: Pass through close() to parent inp...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Mar 10 18:37:58 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/01cfcf2b1c3c
changeset: 16006:01cfcf2b1c3c
user: Timo Sirainen <tss at iki.fi>
date: Sun Mar 10 18:16:28 2013 +0200
description:
iostream-rawlog: Pass through close() to parent input/output stream.
diffstat:
src/lib/istream-rawlog.c | 1 +
src/lib/ostream-rawlog.c | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diffs (23 lines):
diff -r d3e3edf8f7eb -r 01cfcf2b1c3c src/lib/istream-rawlog.c
--- a/src/lib/istream-rawlog.c Sun Mar 10 17:19:14 2013 +0200
+++ b/src/lib/istream-rawlog.c Sun Mar 10 18:16:28 2013 +0200
@@ -15,6 +15,7 @@
struct rawlog_istream *rstream = (struct rawlog_istream *)stream;
iostream_rawlog_close(&rstream->riostream);
+ i_stream_close(rstream->istream.parent);
}
static void i_stream_rawlog_destroy(struct iostream_private *stream)
diff -r d3e3edf8f7eb -r 01cfcf2b1c3c src/lib/ostream-rawlog.c
--- a/src/lib/ostream-rawlog.c Sun Mar 10 17:19:14 2013 +0200
+++ b/src/lib/ostream-rawlog.c Sun Mar 10 18:16:28 2013 +0200
@@ -16,6 +16,8 @@
(void)o_stream_flush(rstream->ostream.parent);
iostream_rawlog_close(&rstream->riostream);
+
+ o_stream_close(rstream->ostream.parent);
}
static ssize_t
More information about the dovecot-cvs
mailing list