diff options
| author | Russ Cox <rsc@golang.org> | 2009-01-16 12:47:24 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-01-16 12:47:24 -0800 |
| commit | aedfb397aee33a971a44c6959f4759b3bbea0022 (patch) | |
| tree | 5190044ba6aa44f1eed79cfc98727a1456c0529b /src/lib/http/url.go | |
| parent | 116a6e9c9cad2202d8dfabf9e59c949af998eead (diff) | |
| download | go-aedfb397aee33a971a44c6959f4759b3bbea0022.tar.xz | |
casify misc
R=r
DELTA=247 (20 added, 50 deleted, 177 changed)
OCL=22951
CL=22955
Diffstat (limited to 'src/lib/http/url.go')
| -rw-r--r-- | src/lib/http/url.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/http/url.go b/src/lib/http/url.go index 7aac1f27e5..865b7864a2 100644 --- a/src/lib/http/url.go +++ b/src/lib/http/url.go @@ -156,7 +156,7 @@ export func ParseURL(rawurl string) (url *URL, err *os.Error) { } // If there's no @, split's default is wrong. Check explicitly. - if strings.index(url.authority, "@") < 0 { + if strings.Index(url.authority, "@") < 0 { url.host = url.authority; } else { url.userinfo, url.host = split(url.authority, '@', true); |
