diff options
author | Robert Griesemer <gri@golang.org> | 2010-05-21 20:25:08 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2010-05-21 20:25:08 -0700 |
commit | fd788fc00892402cb2e18d0538384d9e824ce96c (patch) | |
tree | bd68819c41d00504b3c9e7df191087f99784ca00 /src/pkg/net | |
parent | 6099b783c558620ef2e2467f94b31134b0aa5717 (diff) | |
download | golang-fd788fc00892402cb2e18d0538384d9e824ce96c.tar.gz |
go/printer, gofmt: fix printing of labels,
apply gofmt to src, misc
Fixes issue 752.
R=rsc
CC=golang-dev
http://codereview.appspot.com/1240044
Committer: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/pkg/net')
-rw-r--r-- | src/pkg/net/ip.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/net/ip.go b/src/pkg/net/ip.go index f7ccf567e..bd0c75de6 100644 --- a/src/pkg/net/ip.go +++ b/src/pkg/net/ip.go @@ -346,7 +346,8 @@ func parseIPv6(s string) IP { // Loop, parsing hex numbers followed by colon. j := 0 -L: for j < IPv6len { +L: + for j < IPv6len { // Hex number. n, i1, ok := xtoi(s, i) if !ok || n > 0xFFFF { |