From 643ec992384468d16bbe9e21601e915be285d51b Mon Sep 17 00:00:00 2001 From: eldy <> Date: Sun, 5 May 2002 02:42:42 +0000 Subject: [PATCH] New feature: Added session length. --- wwwroot/cgi-bin/awstats.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index d580919f..455533ce 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -1887,7 +1887,7 @@ sub Save_History_File { } } else { - print HISTORYTMP "$key $page $_hostmachine_h{$key} $bytes\n"; + print HISTORYTMP "$key $page $_hostmachine_h{$key} $bytes $_hostmachine_l{$key}\n"; } } foreach my $key (keys %_hostmachine_h) { @@ -1909,7 +1909,7 @@ sub Save_History_File { } } else { - print HISTORYTMP "$key $page $_hostmachine_h{$key} $bytes\n"; + print HISTORYTMP "$key $page $_hostmachine_h{$key} $bytes $_hostmachine_l{$key}\n"; } } print HISTORYTMP "END_VISITOR\n"; @@ -4579,7 +4579,7 @@ EOF $count++; } if ($TotalVisits > $total_s) { - print "$Message[0]".($TotalVisits-$total_s)."\n"; + print "$Message[0]".($TotalVisits-$total_s)."\n"; } &tab_end; } -- 2.47.3