diff options
author | Russ Cox <rsc@golang.org> | 2009-11-20 11:45:05 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-11-20 11:45:05 -0800 |
commit | c861f30835090bbd6b9b35a80667f26952843767 (patch) | |
tree | 645bd57ef3c9326ec02e646a751b9075d12a79e7 /src/pkg/http/request.go | |
parent | 7089e97992d5d6be520dfea787200061992526c8 (diff) | |
download | golang-c861f30835090bbd6b9b35a80667f26952843767.tar.gz |
gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkg
R=r, gri
CC=golang-dev
http://codereview.appspot.com/156115
Diffstat (limited to 'src/pkg/http/request.go')
-rw-r--r-- | src/pkg/http/request.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/http/request.go b/src/pkg/http/request.go index ee8d9af0e..0d296a6b1 100644 --- a/src/pkg/http/request.go +++ b/src/pkg/http/request.go @@ -265,7 +265,7 @@ func readKeyValue(b *bufio.Reader) (key, value string, err os.Error) { break } } - value = string(line[i:len(line)]); + value = string(line[i:]); // Look for extension lines, which must begin with space. for { |