summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/runner.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2011-10-09 18:39:55 +0000
committerEric Faurot <eric@cvs.openbsd.org>2011-10-09 18:39:55 +0000
commitad03e2c7c7cab0cccdb501682fc29d230896cddc (patch)
treedceaf0773380012682d8e3af7bad545aea21a10e /usr.sbin/smtpd/runner.c
parentc45e61c7b6744c0dd8c3296ed9a6ef961a772ac6 (diff)
show messages sent between processes in debug mode
ok gilles@ chl@
Diffstat (limited to 'usr.sbin/smtpd/runner.c')
-rw-r--r--usr.sbin/smtpd/runner.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/runner.c b/usr.sbin/smtpd/runner.c
index 2a559bf0522..33f9b7f6af9 100644
--- a/usr.sbin/smtpd/runner.c
+++ b/usr.sbin/smtpd/runner.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: runner.c,v 1.118 2011/09/18 21:37:53 gilles Exp $ */
+/* $OpenBSD: runner.c,v 1.119 2011/10/09 18:39:53 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -70,6 +70,8 @@ runner_imsg(struct imsgev *iev, struct imsg *imsg)
{
struct envelope *e;
+ log_imsg(PROC_RUNNER, iev->proc, imsg);
+
switch (imsg->hdr.type) {
case IMSG_QUEUE_COMMIT_MESSAGE:
e = imsg->data;