From 1e052f36a56cff60a2ce3d1c31cca719d3f468a3 Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Sat, 28 Jan 2012 16:54:11 +0000 Subject: remove even more annoying debug logs ok eric@ --- usr.sbin/smtpd/util.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'usr.sbin/smtpd') 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 -- cgit v1.2.3