diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-02-13 20:44:47 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-02-13 20:44:47 +0000 |
commit | c687d1e44386e76576eeb74a764e33d2914fad62 (patch) | |
tree | 84577b3ae354106d64a33d61a132d409bde645f4 /usr.sbin/smtpd | |
parent | 64ca36ac46122e73db966f766d218805be3c765c (diff) |
Make stats output more sysctl-like by killing spaces around '='; ok gilles@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/smtpctl.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c index cd465cac18f..5faf4c81e05 100644 --- a/usr.sbin/smtpd/smtpctl.c +++ b/usr.sbin/smtpd/smtpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpctl.c,v 1.12 2009/01/30 21:52:55 gilles Exp $ */ +/* $OpenBSD: smtpctl.c,v 1.13 2009/02/13 20:44:46 jacekm Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -272,19 +272,19 @@ show_stats_output(struct imsg *imsg) if (left > 0) return (0); - printf("parent.uptime = %d\n", time(NULL) - s_parent.start); + printf("parent.uptime=%d\n", time(NULL) - s_parent.start); - printf("queue.inserts = %zd\n", s_queue.inserts); + printf("queue.inserts=%zd\n", s_queue.inserts); - printf("runner.active = %zd\n", s_runner.active); + printf("runner.active=%zd\n", s_runner.active); - printf("smtp.sessions = %zd\n", s_smtp.sessions); - printf("smtp.sessions.aborted = %zd\n", s_smtp.aborted); - printf("smtp.sessions.active = %zd\n", s_smtp.sessions_active); - printf("smtp.sessions.ssmtp = %zd\n", s_smtp.ssmtp); - printf("smtp.sessions.ssmtp.active = %zd\n", s_smtp.ssmtp_active); - printf("smtp.sessions.starttls = %zd\n", s_smtp.starttls); - printf("smtp.sessions.starttls.active = %zd\n", s_smtp.starttls_active); + printf("smtp.sessions=%zd\n", s_smtp.sessions); + printf("smtp.sessions.aborted=%zd\n", s_smtp.aborted); + printf("smtp.sessions.active=%zd\n", s_smtp.sessions_active); + printf("smtp.sessions.ssmtp=%zd\n", s_smtp.ssmtp); + printf("smtp.sessions.ssmtp.active=%zd\n", s_smtp.ssmtp_active); + printf("smtp.sessions.starttls=%zd\n", s_smtp.starttls); + printf("smtp.sessions.starttls.active=%zd\n", s_smtp.starttls_active); return (1); } |