diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-05-30 16:33:00 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-05-30 16:33:00 +0000 |
commit | 0355fe0a382802ca46fd35e949baf3b9d9bb5863 (patch) | |
tree | 8cf633515645bb9819940c7b33a14ea42780856d /usr.sbin | |
parent | dbea9681d7cab14d00e97e47aee7096c6a6a0002 (diff) |
increment mta.sessions in when we allocate a new session in mta
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/smtpd/mta.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c index a208028105f..36398c793ea 100644 --- a/usr.sbin/smtpd/mta.c +++ b/usr.sbin/smtpd/mta.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mta.c,v 1.51 2009/05/30 16:30:33 gilles Exp $ */ +/* $OpenBSD: mta.c,v 1.52 2009/05/30 16:32:59 gilles Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -371,6 +371,7 @@ mta_dispatch_runner(int sig, short event, void *p) TAILQ_INIT(&batchp->messages); SPLAY_INSERT(batchtree, &env->batch_queue, batchp); + env->stats->mta.sessions++; env->stats->mta.sessions_active++; break; |