dovecot-2.2: istream: Improved "stream not seekable" panic message.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Sep 12 03:00:26 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/262fbb878ed4
changeset: 16725:262fbb878ed4
user: Timo Sirainen <tss at iki.fi>
date: Thu Sep 12 02:33:01 2013 +0300
description:
istream: Improved "stream not seekable" panic message.
diffstat:
src/lib/istream.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r c8f17405ff71 -r 262fbb878ed4 src/lib/istream.c
--- a/src/lib/istream.c Thu Sep 12 02:32:47 2013 +0300
+++ b/src/lib/istream.c Thu Sep 12 02:33:01 2013 +0300
@@ -634,7 +634,8 @@
size_t available;
if (stream->istream.v_offset > v_offset)
- i_panic("stream doesn't support seeking backwards");
+ i_panic("stream %s doesn't support seeking backwards",
+ i_stream_get_name(&stream->istream));
while (stream->istream.v_offset < v_offset) {
(void)i_stream_read(&stream->istream);
More information about the dovecot-cvs
mailing list