]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/progress.go
.hdr files
[nncp.git] / src / progress.go
index 62e0f01b6ff77bc44e3bb18a64ebb2d5c17281df..ca1f361a09fbb4e63b26c6b13e72d8013a2d5595 100644 (file)
@@ -141,7 +141,7 @@ func Progress(prefix string, les LEs) {
                progressBarsLock.Unlock()
        }
        what := pkt
-       if len(what) >= 52 { // Base32 encoded
+       if len(what) >= Base32Encoded32Len { // Base32 encoded
                what = what[:16] + ".." + what[len(what)-16:]
        }
        what = prefix + " " + what