summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/dns.c3
-rw-r--r--usr.sbin/smtpd/queue_fsqueue.c8
2 files changed, 3 insertions, 8 deletions
diff --git a/usr.sbin/smtpd/dns.c b/usr.sbin/smtpd/dns.c
index 2c4d70a4662..d502ef9396b 100644
--- a/usr.sbin/smtpd/dns.c
+++ b/usr.sbin/smtpd/dns.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dns.c,v 1.50 2012/07/29 17:33:55 eric Exp $ */
+/* $OpenBSD: dns.c,v 1.51 2012/08/08 17:31:55 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -146,7 +146,6 @@ dns_async(struct imsgev *asker, int type, struct dns *query)
}
dnssession_mx_insert(s, query->host, 0);
stat_increment(STATS_LKA_SESSION_HOST);
- log_debug("dns: ready?");
dns_asr_dispatch_host(s);
return;
case IMSG_DNS_PTR:
diff --git a/usr.sbin/smtpd/queue_fsqueue.c b/usr.sbin/smtpd/queue_fsqueue.c
index 0271d5667cf..b405c2aa9c6 100644
--- a/usr.sbin/smtpd/queue_fsqueue.c
+++ b/usr.sbin/smtpd/queue_fsqueue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_fsqueue.c,v 1.46 2012/07/10 23:21:34 chl Exp $ */
+/* $OpenBSD: queue_fsqueue.c,v 1.47 2012/08/08 17:31:55 eric Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -208,14 +208,10 @@ fsqueue_envelope_delete(struct envelope *ep)
{
char pathname[MAXPATHLEN];
- log_debug("#### %s: queue_envelope_delete: %016" PRIx64,
- __func__, ep->id);
fsqueue_envelope_path(ep->id, pathname, sizeof(pathname));
- if (unlink(pathname) == -1) {
- log_debug("######: %s [errno: %d]", pathname, errno);
+ if (unlink(pathname) == -1)
fatal("fsqueue_envelope_delete: unlink");
- }
*strrchr(pathname, '/') = '\0';