dovecot-2.2: dbox: Give a name to the file's output stream (for ...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Jan 9 05:39:06 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/bdd1499989c6
changeset: 15605:bdd1499989c6
user: Timo Sirainen <tss at iki.fi>
date: Wed Jan 09 05:30:06 2013 +0200
description:
dbox: Give a name to the file's output stream (for improved error logging).
diffstat:
src/lib-storage/index/dbox-common/dbox-file.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r e098f2f90fb2 -r bdd1499989c6 src/lib-storage/index/dbox-common/dbox-file.c
--- a/src/lib-storage/index/dbox-common/dbox-file.c Tue Jan 08 05:37:43 2013 +0200
+++ b/src/lib-storage/index/dbox-common/dbox-file.c Wed Jan 09 05:30:06 2013 +0200
@@ -469,6 +469,7 @@
ctx->file = file;
if (file->fd != -1) {
ctx->output = o_stream_create_fd_file(file->fd, 0, FALSE);
+ o_stream_set_name(ctx->output, file->cur_path);
o_stream_cork(ctx->output);
}
return ctx;
More information about the dovecot-cvs
mailing list