summaryrefslogtreecommitdiff
path: root/src/lib/http/url.go
diff options
context:
space:
mode:
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);