From: Rui Ueyama Date: Thu, 24 Apr 2014 19:24:22 +0000 (-0700) Subject: net: fix confusing typo in comment X-Git-Tag: go1.3beta2~195 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f40e574d85cd9bc492f62e7cbee8924a8a5e584e;p=gostls13.git net: fix confusing typo in comment LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/93750043 --- diff --git a/src/pkg/net/port_unix.go b/src/pkg/net/port_unix.go index 5b803e6100..89558c1f02 100644 --- a/src/pkg/net/port_unix.go +++ b/src/pkg/net/port_unix.go @@ -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