The divisor is 4, not 2
authorjoey <>
Mon, 13 Nov 2006 16:23:31 +0000 (16:23 +0000)
committerjoey <>
Mon, 13 Nov 2006 16:23:31 +0000 (16:23 +0000)
Util.pm

diff --git a/Util.pm b/Util.pm
index 98668c3..9acd5d1 100644 (file)
--- a/Util.pm
+++ b/Util.pm
@@ -171,7 +171,7 @@ sub FormatFingerPrint {
       $out .= "&nbsp;" if ($_ == 7);
     }      
   } else {
-    foreach (0..int(length($in)/2)) {
+    foreach (0..int(length($in)/4)) {
       $out .= substr($in, $_*4, 4)." ";
     }      
   }