mirror of
https://github.com/golang/net.git
synced 2026-03-31 18:37:08 +09:00
My earlier change CL 220798 avoided a vet warning for string(i), but neglected to consider that the vet warning was accurate: the code was wrong. The code assumed that string(rune(i)) would return a readable version of i, but of course it instead returns the UTF-8 encoding of i. Updates golang/go#32479 Change-Id: I7410bf9fcd98cbdd193344118ecc81e967a6fb45 Reviewed-on: https://go-review.googlesource.com/c/net/+/221437 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>