* Added Italian translation, it.pm, from Lorenzo Cappelletti
[BackupPC.git] / lib / BackupPC / RsyncDigest.pm
index e6a2407..3dd0896 100644 (file)
@@ -165,7 +165,9 @@ sub digestStart
             #
             close($fh);
             $fio->digestAdd($fileName,
             #
             close($fh);
             $fio->digestAdd($fileName,
-                    $blockSize || $fio->blockSize($fileSize, $defBlkSize),
+                    $blockSize
+                       || BackupPC::RsyncDigest->blockSize($fileSize,
+                                                           $defBlkSize),
                     $checksumSeed);
             #
             # now re-open the file and re-read the first byte
                     $checksumSeed);
             #
             # now re-open the file and re-read the first byte