From fecfa0af0aee1aa403ce836482a5a2d4d8cf8257 Mon Sep 17 00:00:00 2001 From: hjp Date: Wed, 29 Mar 2006 12:37:37 +0000 Subject: [PATCH] Don't mix debug messages with graph. Image viewers don't like that :-). --- quotacheck/quotagraph | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/quotacheck/quotagraph b/quotacheck/quotagraph index 22ed400..8d02ee0 100755 --- a/quotacheck/quotagraph +++ b/quotacheck/quotagraph @@ -131,11 +131,11 @@ if ($lasttime - $firsttime > 3 * 30 * 24 * 3600) { if ($toff > 12*3600) { $toff = 24 * 3600 - $toff; } - print "correcting time by $toff seconds "; - printf "from %04d-%02d-%02d %02d:%02d:%02d ", $year+1900, $mon+1, $mday, $hour, $min, $sec; + # print "correcting time by $toff seconds "; + # printf "from %04d-%02d-%02d %02d:%02d:%02d ", $year+1900, $mon+1, $mday, $hour, $min, $sec; $time -= $toff; ($sec,$min,$hour,$mday,$mon,$year) = localtime($time); - printf "to %04d-%02d-%02d %02d:%02d:%02d\n", $year+1900, $mon+1, $mday, $hour, $min, $sec; + # printf "to %04d-%02d-%02d %02d:%02d:%02d\n", $year+1900, $mon+1, $mday, $hour, $min, $sec; } @@ -165,11 +165,11 @@ if ($lasttime - $firsttime > 3 * 30 * 24 * 3600) { if ($toff > 12*3600) { $toff = 24 * 3600 - $toff; } - print "correcting time by $toff seconds "; - printf "from %04d-%02d-%02d %02d:%02d:%02d ", $year+1900, $mon+1, $mday, $hour, $min, $sec; + # print "correcting time by $toff seconds "; + # printf "from %04d-%02d-%02d %02d:%02d:%02d ", $year+1900, $mon+1, $mday, $hour, $min, $sec; $time -= $toff; ($sec,$min,$hour,$mday,$mon,$year) = localtime($time); - printf "to %04d-%02d-%02d %02d:%02d:%02d\n", $year+1900, $mon+1, $mday, $hour, $min, $sec; + # printf "to %04d-%02d-%02d %02d:%02d:%02d\n", $year+1900, $mon+1, $mday, $hour, $min, $sec; }