mirror of https://github.com/golang/go.git
net: fix confusing typo in comment
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/93750043
This commit is contained in:
parent
59d7aa32ca
commit
f40e574d85
|
|
@ -33,7 +33,7 @@ func readServices() {
|
|||
if len(f) < 2 {
|
||||
continue
|
||||
}
|
||||
portnet := f[1] // "tcp/80"
|
||||
portnet := f[1] // "80/tcp"
|
||||
port, j, ok := dtoi(portnet, 0)
|
||||
if !ok || port <= 0 || j >= len(portnet) || portnet[j] != '/' {
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in New Issue