From 590c81919be04b4d9a93065fe6a021d2d948733f Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Tue, 18 Dec 2012 16:44:57 +0100 Subject: [PATCH] 3.0: small cosmetic change --- 3.0/lib/nginx.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/3.0/lib/nginx.pm b/3.0/lib/nginx.pm index b9dae89..efb6df0 100644 --- a/3.0/lib/nginx.pm +++ b/3.0/lib/nginx.pm @@ -311,6 +311,10 @@ sub nginx_cgi { push(@riglim, "--rigid"); } } + if($title) { + print(" \n"); + print(" \n"); + } push(@tmp, "AREA:total#44EEEE:Total"); push(@tmp, "GPRINT:total:LAST: Current\\: %5.0lf"); push(@tmp, "GPRINT:total:AVERAGE: Average\\: %5.0lf"); @@ -343,10 +347,6 @@ sub nginx_cgi { push(@tmpz, "LINE1:reading#00EE00"); push(@tmpz, "LINE1:writing#0000EE"); push(@tmpz, "LINE1:waiting#EE00EE"); - if($title) { - print(" \n"); - print(" \n"); - } ($width, $height) = split('x', $config->{graph_size}->{main}); if($silent =~ /imagetag/) { ($width, $height) = split('x', $config->{graph_size}->{remote}) if $silent eq "imagetag";