From ba8f21cc4cf8f45fbaf1a270ffe1f683931a6c24 Mon Sep 17 00:00:00 2001 From: Jimmy Olsen Date: Wed, 1 Sep 2004 19:46:01 +0000 Subject: [PATCH] Removed debug info. --- server/munin-html.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/server/munin-html.in b/server/munin-html.in index 9cff9604ed..6eeb069ccc 100755 --- a/server/munin-html.in +++ b/server/munin-html.in @@ -3,6 +3,9 @@ # $Id$ # # $Log$ +# Revision 1.20 2004/09/01 19:46:01 jimmyo +# Removed debug info. +# # Revision 1.19 2004/09/01 19:44:46 jimmyo # Munin-html img-tags now sets image size, which helps when rendering pages with lots of graphs. # @@ -432,27 +435,21 @@ sub get_png_size my $width = undef; my $height = undef; - print STDERR "DEBUG: Checking size of \"$filename\".\n"; if (open (PNG, $filename)) { my $incoming; - print STDERR "\t- opened.\n"; binmode (PNG); if (read (PNG, $incoming, 4)) { - print STDERR "\t- read first four -- \"$incoming\".\n"; if ($incoming =~ /PNG$/) { if (read (PNG, $incoming, 12)) { if (read (PNG, $incoming, 4)) { - print STDERR "\t- read size -- \"$incoming\".\n"; $width = unpack ("N", $incoming); read (PNG, $incoming, 4); - print STDERR "\t- read size -- \"$incoming\".\n"; $height = unpack ("N", $incoming); - print STDERR "DEBUG: size $width x $height\n"; } } }