commit | 244492dfa37ae2ce87222fd06250a03160745faa | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Thu Feb 27 10:31:54 2020 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Sun Mar 01 02:21:30 2020 +0000 |
tree | a8cf750b3ee01b76156c8b49ac23dcf8250e7842 | |
parent | 0de0cce0169b09b364e001f108dc0399ea8630b3 [diff] |
dns/dnsmessage: correct error message to be readable 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>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.