dovecot-2.2: doveadm stats top: Fixed double-close()ing stats co...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 12 23:20:48 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/f42dfaebdfc4
changeset: 17478:f42dfaebdfc4
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jun 13 02:04:12 2014 +0300
description:
doveadm stats top: Fixed double-close()ing stats connection

diffstat:

 src/doveadm/doveadm-stats.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 2e7987633f8b -r f42dfaebdfc4 src/doveadm/doveadm-stats.c
--- a/src/doveadm/doveadm-stats.c	Fri Jun 13 02:01:55 2014 +0300
+++ b/src/doveadm/doveadm-stats.c	Fri Jun 13 02:04:12 2014 +0300
@@ -479,7 +479,7 @@
 	hash_table_create(&ctx.sessions, default_pool, 0, str_hash, strcmp);
 	net_set_nonblock(ctx.fd, FALSE);
 
-	ctx.input = i_stream_create_fd(ctx.fd, (size_t)-1, TRUE);
+	ctx.input = i_stream_create_fd(ctx.fd, (size_t)-1, FALSE);
 
 	if (strstr(sort_type, "cpu") != NULL)
 		ctx.lines_sort = sort_cpu;


More information about the dovecot-cvs mailing list