Fix a brain blunder in the HTML output.
authorReid Spencer <rspencer@reidspencer.com>
Mon, 16 May 2005 18:52:57 +0000 (18:52 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 16 May 2005 18:52:57 +0000 (18:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22094 91177308-0d34-0410-b5e6-96231b3b80d8

utils/userloc.pl

index 3358cc2dc884a1dd9a819ec450b3f8fa5bd070f5..e9e4b9062ad0434938376116660c67dca90aae68 100755 (executable)
@@ -161,19 +161,20 @@ sub printStats
     print " <tr><th style=\"text-align:left\">Directory</th>\n";
     foreach $user (keys %Stats)
     {
-      print "<th style=\"text-align:right\">",$user,"</th></tr>\n";
+      print "<th style=\"text-align:right\">",$user,"</th>\n";
     }
+    print "</tr>\n";
   }
 
   $RowCount++;
 
-  foreach $user (keys %{$hash}) { $total += $hash->{$user}; }
-
   if ($html)
     { print "<tr><td style=\"text-align:left\">",$dir,"</td>"; }
   else
     { print $dir,"\n"; }
 
+  foreach $user (keys %{$hash}) { $total += $hash->{$user}; }
+
   foreach $user ( sort keys %Stats )
   {
     my $v = $hash->{$user};