dovecot-2.0: istream-seekable: Minor code cleanup.

dovecot at dovecot.org dovecot at dovecot.org
Sun Jan 9 23:42:09 EET 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/80c055dbea89
changeset: 12557:80c055dbea89
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jan 09 23:38:49 2011 +0200
description:
istream-seekable: Minor code cleanup.

diffstat:

 src/lib/istream-seekable.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ed675e34dfa7 -r 80c055dbea89 src/lib/istream-seekable.c
--- a/src/lib/istream-seekable.c	Sun Jan 09 22:01:36 2011 +0200
+++ b/src/lib/istream-seekable.c	Sun Jan 09 23:38:49 2011 +0200
@@ -132,7 +132,7 @@
 			/* full / error */
 			sstream->istream.istream.stream_errno =
 				sstream->cur_input->stream_errno;
-			return ret;
+			return -1;
 		}
 
 		/* go to next stream */


More information about the dovecot-cvs mailing list