summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/util.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2012-01-28 16:54:11 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2012-01-28 16:54:11 +0000
commit1e052f36a56cff60a2ce3d1c31cca719d3f468a3 (patch)
tree15a1c675bef5ea7bafe2dea998bfcc980a71d820 /usr.sbin/smtpd/util.c
parent26b81d603a7f7f8ffe01b143a88589574a5509f0 (diff)
remove even more annoying debug logs
ok eric@
Diffstat (limited to 'usr.sbin/smtpd/util.c')
-rw-r--r--usr.sbin/smtpd/util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/util.c b/usr.sbin/smtpd/util.c
index 2375f6f6c3f..93f74f3fbf8 100644
--- a/usr.sbin/smtpd/util.c
+++ b/usr.sbin/smtpd/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.56 2012/01/12 15:01:33 eric Exp $ */
+/* $OpenBSD: util.c,v 1.57 2012/01/28 16:54:10 gilles Exp $ */
/*
* Copyright (c) 2000,2001 Markus Friedl. All rights reserved.
@@ -153,7 +153,6 @@ rmtree(char *path, int keepdir)
depth--;
if (keepdir && e->fts_number == 1)
continue;
- log_debug("rmdir %s", e->fts_path);
if (rmdir(e->fts_path) == -1) {
warn("rmdir: %s", e->fts_path);
ret = -1;
@@ -166,7 +165,6 @@ rmtree(char *path, int keepdir)
continue;
}
- log_debug("unlink %s", e->fts_path);
if (unlink(e->fts_path) == -1) {
warn("unlink: %s", e->fts_path);
ret = -1;
@@ -194,7 +192,6 @@ mvpurge(char *from, char *to)
again:
snprintf(buf, sizeof buf, "%s%s%u", to, sep, arc4random());
- log_debug("rename %s -> %s", from, buf);
if (rename(from, buf) == -1) {
/* ENOTDIR has actually 2 meanings, and incorrect input
* could lead to an infinite loop. Consider that after