diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-03-29 14:18:21 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-03-29 14:18:21 +0000 |
commit | 411f09d88bf2ce87a1b0767340ec1bffaa0444c5 (patch) | |
tree | de28bcbe59ddbac3ec4e91ba0f5a3fff026a7abb /usr.sbin/smtpd/control.c | |
parent | 2d278b45fcc694aac4935bcaddf4197306fcd0b1 (diff) |
turn some log_debugs into log_warns or even fatals; "looks ok" gilles@
Diffstat (limited to 'usr.sbin/smtpd/control.c')
-rw-r--r-- | usr.sbin/smtpd/control.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/usr.sbin/smtpd/control.c b/usr.sbin/smtpd/control.c index 710ce3f27a5..ce1ce84ab93 100644 --- a/usr.sbin/smtpd/control.c +++ b/usr.sbin/smtpd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.20 2009/03/18 14:48:27 gilles Exp $ */ +/* $OpenBSD: control.c,v 1.21 2009/03/29 14:18:20 jacekm Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -565,9 +565,9 @@ control_dispatch_parent(int sig, short event, void *p) break; } default: - log_debug("control_dispatch_parent: unexpected imsg %d", + log_warnx("control_dispatch_parent: got imsg %d", imsg.hdr.type); - break; + fatalx("control_dispatch_parent: unexpected imsg"); } imsg_free(&imsg); } @@ -621,9 +621,9 @@ control_dispatch_lka(int sig, short event, void *p) break; } default: - log_debug("control_dispatch_lka: unexpected imsg %d", + log_warnx("control_dispatch_lka: got imsg %d", imsg.hdr.type); - break; + fatalx("control_dispatch_lka: unexpected imsg"); } imsg_free(&imsg); } @@ -687,9 +687,9 @@ control_dispatch_mfa(int sig, short event, void *p) break; } default: - log_debug("control_dispatch_mfa: unexpected imsg %d", + log_warnx("control_dispatch_mfa: got imsg %d", imsg.hdr.type); - break; + fatalx("control_dispatch_mfa: unexpected imsg"); } imsg_free(&imsg); } @@ -836,9 +836,9 @@ control_dispatch_queue(int sig, short event, void *p) break; } default: - log_debug("control_dispatch_queue: unexpected imsg %d", + log_warnx("control_dispatch_queue: got imsg %d", imsg.hdr.type); - break; + fatalx("control_dispatch_queue: unexpected imsg"); } imsg_free(&imsg); } @@ -913,9 +913,9 @@ control_dispatch_runner(int sig, short event, void *p) break; } default: - log_debug("control_dispatch_runner: unexpected imsg %d", + log_warnx("control_dispatch_runner: got imsg %d", imsg.hdr.type); - break; + fatalx("control_dispatch_runner: unexpected imsg"); } imsg_free(&imsg); } @@ -974,9 +974,9 @@ control_dispatch_smtp(int sig, short event, void *p) break; } default: - log_debug("control_dispatch_smtp: unexpected imsg %d", + log_warnx("control_dispatch_smtp: got imsg %d", imsg.hdr.type); - break; + fatalx("control_dispatch_smtp: unexpected imsg"); } imsg_free(&imsg); } |