瀏覽代碼

Ticket 47461 - logconv.pl - Use of comma-less variable list is deprecated

Description:  In newer versionis of perl commas are needed to separate variables
              when "formatting" output.  Also fixed a typo.

https://fedorahosted.org/389/ticket/47461

Reviewed by: nhosoi(Thanks!)
Mark Reynolds 12 年之前
父節點
當前提交
7e9cae5fa2
共有 1 個文件被更改,包括 15 次插入15 次删除
  1. 15 15
      ldap/admin/src/logconv.pl

+ 15 - 15
ldap/admin/src/logconv.pl

@@ -597,7 +597,7 @@ print "Restarts:                     $serverRestartCount\n";
 print "Total Connections:            $connectionCount\n";
 print " - StartTLS Connections:      $startTLSCount\n";
 print " - LDAPS Connections:         $sslCount\n";
-print " - LDAPI Conections:          $ldapiCount\n";
+print " - LDAPI Connections:         $ldapiCount\n";
 print "Peak Concurrent Connections:  $maxsimConnection\n";
 print "Total Operations:             $allOps\n";
 print "Total Results:                $allResults\n";
@@ -618,20 +618,20 @@ my $compareStat = sprintf "(%.2f/sec)  (%.2f/min)\n",$cmpCount/$totalTimeInSecs,
 my $bindCountStat = sprintf "(%.2f/sec)  (%.2f/min)\n",$bindCount/$totalTimeInSecs, $bindCount/($totalTimeInSecs/60);
 
 format STDOUT =
-Searches:                     @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
-                              $srchCount,        $searchStat
-Modifications:                @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
-                              $modCount,           $modStat
-Adds:                         @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
-                              $addCount,           $addStat
-Deletes:                      @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
-                              $delCount,        $deleteStat
-Mod RDNs:                     @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
-                              $modrdnCount,        $modrdnStat
-Compares:                     @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
-                              $cmpCount,       $compareStat
-Binds:                        @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
-                              $bindCount,           $bindCountStat
+Searches:                     @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+                              $srchCount,   $searchStat,
+Modifications:                @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+                              $modCount,    $modStat,
+Adds:                         @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+                              $addCount,    $addStat,
+Deletes:                      @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+                              $delCount,    $deleteStat,
+Mod RDNs:                     @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+                              $modrdnCount, $modrdnStat,
+Compares:                     @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+                              $cmpCount,    $compareStat,
+Binds:                        @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+                              $bindCount,   $bindCountStat,
 .
 write STDOUT;