summaryrefslogtreecommitdiff
path: root/service/http/parse.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-12 18:18:11 +0300
committerWolfy-J <[email protected]>2018-06-12 18:18:11 +0300
commit592bda7d2b2c58ce466979e567158202f07bda7e (patch)
tree56c47e4822dec35b31e753c4d6bcce20813aca4d /service/http/parse.go
parentc7f5df2d4cf07b4f86f31412cf10878df8de2a77 (diff)
faster indexes
Diffstat (limited to 'service/http/parse.go')
-rw-r--r--service/http/parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/parse.go b/service/http/parse.go
index 95a3105d..3b084eb8 100644
--- a/service/http/parse.go
+++ b/service/http/parse.go
@@ -177,7 +177,7 @@ func fetchIndexes(s string) []string {
}
pos = 2
default:
- if pos == 1 || pos == 2 {
+ if pos > 0 {
keys = append(keys, "")
}