dovecot-2.2: istream: Fail in the default stat() implementation ...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Feb 4 20:18:39 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/d4bf15bbf182
changeset: 15725:d4bf15bbf182
user: Timo Sirainen <tss at iki.fi>
date: Mon Feb 04 20:13:26 2013 +0200
description:
istream: Fail in the default stat() implementation if stream_errno is set.
diffstat:
src/lib/istream.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 595c00f289bf -r d4bf15bbf182 src/lib/istream.c
--- a/src/lib/istream.c Mon Feb 04 20:12:10 2013 +0200
+++ b/src/lib/istream.c Mon Feb 04 20:13:26 2013 +0200
@@ -630,7 +630,7 @@
const struct stat *st;
if (stream->parent == NULL)
- return 0;
+ return stream->istream.stream_errno == 0 ? 0 : -1;
if (i_stream_stat(stream->parent, exact, &st) < 0)
return -1;
More information about the dovecot-cvs
mailing list