dovecot-2.2: stats: num_cmds was always 0 in global stats
dovecot at dovecot.org
dovecot at dovecot.org
Tue Apr 21 08:15:22 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/4f95a2b5a154
changeset: 18429:4f95a2b5a154
user: Timo Sirainen <tss at iki.fi>
date: Tue Apr 21 11:13:51 2015 +0300
description:
stats: num_cmds was always 0 in global stats
diffstat:
src/stats/mail-command.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 9196358b6779 -r 4f95a2b5a154 src/stats/mail-command.c
--- a/src/stats/mail-command.c Tue Apr 21 09:59:32 2015 +0300
+++ b/src/stats/mail-command.c Tue Apr 21 11:13:51 2015 +0300
@@ -155,6 +155,7 @@
session->user->domain->num_cmds++;
if (session->ip != NULL)
session->ip->num_cmds++;
+ mail_global_stats.num_cmds++;
args += 5;
} else {
if (cmd == NULL) {
More information about the dovecot-cvs
mailing list