summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2013-07-04 07:04:07 +0000
committergilles <gilles@openbsd.org>2013-07-04 07:04:07 +0000
commit1e7a24626277305da2bea7fc310bf4df362657e1 (patch)
tree59a4c7adc02e0f343af314e95f5b4c8969f64973
parentTo ease future changes, move several internal type definitions that are (diff)
downloadwireguard-openbsd-1e7a24626277305da2bea7fc310bf4df362657e1.tar.xz
wireguard-openbsd-1e7a24626277305da2bea7fc310bf4df362657e1.zip
somehow a return; was removed
spotted by David Hill and Maxime Villard
-rw-r--r--usr.sbin/smtpd/smtpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c
index 7599f2bf298..cdc25f7d10f 100644
--- a/usr.sbin/smtpd/smtpd.c
+++ b/usr.sbin/smtpd/smtpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.c,v 1.191 2013/05/24 17:03:14 eric Exp $ */
+/* $OpenBSD: smtpd.c,v 1.192 2013/07/04 07:04:07 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -1327,7 +1327,8 @@ imsg_dispatch(struct mproc *p, struct imsg *imsg)
"profiling.imsg.%s.%s.%s",
proc_name(smtpd_process),
proc_name(p->proc),
- imsg_to_str(imsg->hdr.type)));
+ imsg_to_str(imsg->hdr.type)))
+ return;
stat_set(key, stat_timespec(&dt));
}
}