From c72dbaf3124f5ce4d77aab723ebe5150d4c27ad2 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Tue, 31 May 2011 15:40:33 -0400 Subject: [PATCH] encoding/hex: don't try to print DEL. R=agl CC=golang-dev https://golang.org/cl/4551081 --- src/pkg/encoding/hex/hex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/encoding/hex/hex.go b/src/pkg/encoding/hex/hex.go index 227829ae5c..47cdedd607 100644 --- a/src/pkg/encoding/hex/hex.go +++ b/src/pkg/encoding/hex/hex.go @@ -128,7 +128,7 @@ type dumper struct { } func toChar(b byte) byte { - if b < 32 || b > 127 { + if b < 32 || b > 126 { return '.' } return b