From: Timo Sirainen Date: Fri, 8 Nov 2013 15:12:32 +0000 (+0100) Subject: zlib: Give a name to zlib istreams X-Git-Tag: 2.2.8~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8545883e3fe466d42dbb1fdc6330754c43af09e;p=thirdparty%2Fdovecot%2Fcore.git zlib: Give a name to zlib istreams --- diff --git a/src/plugins/zlib/zlib-plugin.c b/src/plugins/zlib/zlib-plugin.c index 8c51073ff6..4b1a41ec4d 100644 --- a/src/plugins/zlib/zlib-plugin.c +++ b/src/plugins/zlib/zlib-plugin.c @@ -93,6 +93,8 @@ zlib_mail_cache_open(struct zlib_user *zuser, struct mail *mail, input = i_stream_create_seekable_path(inputs, i_stream_get_max_buffer_size(inputs[0]), str_c(temp_prefix)); + i_stream_set_name(input, t_strdup_printf("zlib(%s)", + i_stream_get_name(inputs[0]))); i_stream_unref(&inputs[0]); cache->to = timeout_add(ZLIB_MAIL_CACHE_EXPIRE_MSECS,