dovecot-2.2: lib-storage: Give name to attachments-connector ist...

dovecot at dovecot.org dovecot at dovecot.org
Fri Nov 8 17:40:19 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/23b55e448784
changeset: 16949:23b55e448784
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Nov 08 16:39:52 2013 +0100
description:
lib-storage: Give name to attachments-connector istream.

diffstat:

 src/lib-storage/index/index-attachment.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r b62eaae51894 -r 23b55e448784 src/lib-storage/index/index-attachment.c
--- a/src/lib-storage/index/index-attachment.c	Fri Nov 08 16:12:32 2013 +0100
+++ b/src/lib-storage/index/index-attachment.c	Fri Nov 08 16:39:52 2013 +0100
@@ -438,6 +438,8 @@
 	}
 
 	input = istream_attachment_connector_finish(&conn);
+	i_stream_set_name(input, t_strdup_printf(
+		"attachments-connector(%s)", i_stream_get_name(*stream)));
 	i_stream_unref(stream);
 	*stream = input;
 	return 0;


More information about the dovecot-cvs mailing list