]> Cypherpunks repositories - gostls13.git/commit
net: report port number correctly in Plan 9 error
authorIan Lance Taylor <iant@golang.org>
Thu, 27 Feb 2020 15:36:39 +0000 (07:36 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 28 Feb 2020 16:22:42 +0000 (16:22 +0000)
commit719b1ba27822e01cbef0d418d26a321a25948313
tree00b9701a0e7a82c01bba01a5a5769d0b594fe542
parent2cf3ebaf3db5b23a56e2ee62ecd76748dfbb5b8e
net: report port number correctly in Plan 9 error

The code was incorrectly using a string conversion of a numeric port
to display the port number.

No test because as far as I can tell this code is only executed if
there is some error in a /net file.

Updates #32479

Change-Id: I0b8deebbf3c0b7cb1e1eee0fd059505f3f4c1623
Reviewed-on: https://go-review.googlesource.com/c/go/+/221377
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/ipsock_plan9.go