summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2012-08-19 08:47:41 +0000
committerchl <chl@openbsd.org>2012-08-19 08:47:41 +0000
commite16a1b99059fb02abc45b5f8d1309d3c7b7c7f80 (patch)
treeb7b5193fdb794939a8612989d27cfa7b15a22e4b
parentfix an issue where too long lines were not spot properly. (diff)
downloadwireguard-openbsd-e16a1b99059fb02abc45b5f8d1309d3c7b7c7f80.tar.xz
wireguard-openbsd-e16a1b99059fb02abc45b5f8d1309d3c7b7c7f80.zip
add missing IMSG_* in imsg_to_str()
ok eric@
-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);