diff --git a/plugins/http/http_load_ b/plugins/http/http_load_ index 2120a8f9..b483edfc 100755 --- a/plugins/http/http_load_ +++ b/plugins/http/http_load_ @@ -162,7 +162,6 @@ sub filter{ sub get_cache_file_name{ my $scriptname=$_[0]; my $id=$_[1]; - my $type=$_[2]; my $file=""; $file = $scriptname . $id . ".cache"; @@ -332,7 +331,7 @@ if($ARGV[0] and $ARGV[0] eq "autoconf") { } } - $cachefile=$cachedir . "/" . &get_cache_file_name($scriptname,$id,$type); + $cachefile=$cachedir . "/" . &get_cache_file_name($scriptname,$id); $debug && print "Reading cache file: " . $cachefile . "... "; my %input=read_cache($cachefile); @@ -367,7 +366,7 @@ if($ARGV[0] and $ARGV[0] eq "autoconf") { print "graph_args -l 0 --base 1000\n"; print "graph_category webserver\n"; $debug && print "Reading cache file\n"; - my $cachefile=$cachedir . "/" . &get_cache_file_name($scriptname,$id,$type); + my $cachefile=$cachedir . "/" . &get_cache_file_name($scriptname,$id); my %cache=read_cache($cachefile); my $count=0; @@ -558,7 +557,7 @@ if($ARGV[0] and $ARGV[0] eq "autoconf") { } exit(0); } else { - my $cachefile=$cachedir . "/" . &get_cache_file_name($scriptname,$id,$type); + my $cachefile=$cachedir . "/" . &get_cache_file_name($scriptname,$id); $debug && print "Reading cache file: " . $cachefile . "\n"; my %cache=read_cache($cachefile); $debug && print "Number of lines in cache file: " . keys(%cache) . "\n";