dovecot-2.2: lib-storage: Set name for the "binary istream".
dovecot at dovecot.org
dovecot at dovecot.org
Tue Dec 4 11:33:22 EET 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/b3f14d2d2019
changeset: 15449:b3f14d2d2019
user: Timo Sirainen <tss at iki.fi>
date: Tue Dec 04 11:33:16 2012 +0200
description:
lib-storage: Set name for the "binary istream".
diffstat:
src/lib-storage/index/index-mail-binary.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 674e45904706 -r b3f14d2d2019 src/lib-storage/index/index-mail-binary.c
--- a/src/lib-storage/index/index-mail-binary.c Tue Dec 04 07:18:03 2012 +0200
+++ b/src/lib-storage/index/index-mail-binary.c Tue Dec 04 11:33:16 2012 +0200
@@ -381,6 +381,9 @@
cache->input = i_streams_merge(blocks_get_streams(&ctx),
IO_BLOCK_SIZE, fd_callback, _mail);
+ i_stream_set_name(cache->input, t_strdup_printf(
+ "<binary stream of mailbox %s UID %u>",
+ _mail->box->vname, _mail->uid));
if (blocks_count_lines(&ctx, cache->input) < 0) {
mail_storage_set_critical(_mail->box->storage,
"read(%s) failed: %m",
More information about the dovecot-cvs
mailing list