diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-05-21 18:39:04 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2011-05-21 18:39:04 +0000 |
commit | f84649f7bc126d2d29d5c9ec0bca388b5666adf3 (patch) | |
tree | 9fcadef5d715ac25346726930128cf3ba5cd1de1 | |
parent | b909b54c8500748cbeafc196862afe51932e033f (diff) |
remove annoying log_debug()
-rw-r--r-- | usr.sbin/smtpd/mta.c | 4 | ||||
-rw-r--r-- | usr.sbin/smtpd/ruleset.c | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c index 593ec150b89..96d0fda7627 100644 --- a/usr.sbin/smtpd/mta.c +++ b/usr.sbin/smtpd/mta.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mta.c,v 1.106 2011/05/16 21:05:52 gilles Exp $ */ +/* $OpenBSD: mta.c,v 1.107 2011/05/21 18:39:03 gilles Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -96,8 +96,6 @@ mta_imsg(struct imsgev *iev, struct imsg *imsg) } /* use auth? */ - log_debug("host: %s", rq_batch->rule.r_value.relayhost.hostname); - log_debug("flags: %d", rq_batch->rule.r_value.relayhost.flags); if ((rq_batch->rule.r_value.relayhost.flags & F_SSL) && (rq_batch->rule.r_value.relayhost.flags & F_AUTH)) { s->flags |= MTA_USE_AUTH; diff --git a/usr.sbin/smtpd/ruleset.c b/usr.sbin/smtpd/ruleset.c index 8f86dface0d..b8a214085e6 100644 --- a/usr.sbin/smtpd/ruleset.c +++ b/usr.sbin/smtpd/ruleset.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ruleset.c,v 1.18 2011/05/16 21:05:52 gilles Exp $ */ +/* $OpenBSD: ruleset.c,v 1.19 2011/05/21 18:39:03 gilles Exp $ */ /* * Copyright (c) 2009 Gilles Chehade <gilles@openbsd.org> @@ -50,7 +50,6 @@ ruleset_match(struct envelope *evp) struct mailaddr *maddr = &evp->delivery.rcpt; struct sockaddr_storage *ss = &evp->delivery.ss; - log_debug("flags: %d", evp->delivery.flags); if (evp->delivery.flags & DF_INTERNAL) ss = NULL; |