summaryrefslogtreecommitdiff
path: root/src/lib/http/url.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-16 12:47:24 -0800
committerRuss Cox <rsc@golang.org>2009-01-16 12:47:24 -0800
commit1de76e1401a9e35d7133e7c10fbd85f7b0e7be56 (patch)
tree5190044ba6aa44f1eed79cfc98727a1456c0529b /src/lib/http/url.go
parente260cd27aeea1ebd7ffef21b19045dbb6829aa0f (diff)
downloadgolang-1de76e1401a9e35d7133e7c10fbd85f7b0e7be56.tar.gz
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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/http/url.go b/src/lib/http/url.go
index 7aac1f27e..865b7864a 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);