summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2012-08-19 08:47:42 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2012-08-19 08:47:42 +0000
commit8b7606580a7f1537207b25d91bdbc80d5f3d8d9d (patch)
tree5d26f92eb6689e25b9444ba7b66a9c50030cd3ac /usr.sbin/smtpd/smtpd.c
parent6c1332ccc8c53665034ce23117431cf9f0170db0 (diff)
add missing IMSG_* in imsg_to_str()
ok eric@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.c')
-rw-r--r--usr.sbin/smtpd/smtpd.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c
index 1d8e6e31d5e..0add71fc6e0 100644
--- a/usr.sbin/smtpd/smtpd.c
+++ b/usr.sbin/smtpd/smtpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.c,v 1.158 2012/08/18 18:18:23 gilles Exp $ */
+/* $OpenBSD: smtpd.c,v 1.159 2012/08/19 08:47:41 chl Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -1266,7 +1266,6 @@ imsg_to_str(int type)
CASE(IMSG_PARENT_AUTHENTICATE);
CASE(IMSG_PARENT_SEND_CONFIG);
- CASE(IMSG_STATS);
CASE(IMSG_SMTP_ENQUEUE);
CASE(IMSG_SMTP_PAUSE);
CASE(IMSG_SMTP_RESUME);
@@ -1275,6 +1274,13 @@ imsg_to_str(int type)
CASE(IMSG_DNS_HOST_END);
CASE(IMSG_DNS_MX);
CASE(IMSG_DNS_PTR);
+
+ CASE(IMSG_STAT_INCREMENT);
+ CASE(IMSG_STAT_DECREMENT);
+ CASE(IMSG_STAT_SET);
+
+ CASE(IMSG_STATS);
+ CASE(IMSG_STATS_GET);
default:
snprintf(buf, sizeof(buf), "IMSG_??? (%d)", type);