go/src
Brad Fitzpatrick 5b0bf9db8e net/http: fix confusing shadowing in ProxyFromEnvironment
The old code worked, somewhat on accident, but was confusing,
and had a useless assignment to the inner err. It worked
because url.Parse parses just about anything, so the outer err
was always nil, so it always fell through to the bottom return
statement, even without the "err = nil" line.

Instead, just have two return statements, and add a comment.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/10448044
2013-06-20 11:58:24 -07:00
..
cmd cmd/go: put the coverage information on the summary line. 2013-06-20 10:27:44 -07:00
lib9 lib9/utf: remove unneccesary includes 2013-05-31 15:53:26 -07:00
libbio
libmach all: fix typos 2013-06-09 21:50:24 +08:00
pkg net/http: fix confusing shadowing in ProxyFromEnvironment 2013-06-20 11:58:24 -07:00
Make.dist
all.bash
all.bat all.bat,make.bat,run.bat: make these work even when directory has space in it 2013-03-25 12:13:34 +11:00
all.rc build: do not set GOBIN on Plan 9 2013-02-26 09:25:46 -08:00
clean.bash
clean.bat
clean.rc
make.bash cmd/dist, make.bash: pass -mmacosx-version-min=10.6 to gcc on Darwin 2013-04-16 13:30:52 -07:00
make.bat all.bat,make.bat,run.bat: make these work even when directory has space in it 2013-03-25 12:13:34 +11:00
make.rc build: fix make.rc on Plan 9 2013-05-24 13:55:19 -07:00
race.bash src: add race.bash 2013-01-28 21:05:25 +11:00
race.bat src: add race.bat 2013-02-03 00:49:37 +08:00
run.bash run.bash: raise ulimit for the number of threads. 2013-06-17 19:31:58 +10:00
run.bat api: add go1.1.txt; update cmd/api to use it 2013-05-06 17:25:09 -07:00
run.rc build: do not set GOBIN on Plan 9 2013-02-26 09:25:46 -08:00
sudo.bash cmd/cov: delete 2013-05-24 11:06:06 -07:00