diff options
Diffstat (limited to 'http_server.go')
-rw-r--r-- | http_server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http_server.go b/http_server.go index c762758..9c06ab0 100644 --- a/http_server.go +++ b/http_server.go @@ -197,9 +197,9 @@ func (router *http_router_t) ServeHTTP(w http.ResponseWriter, r *http.Request) { return } switch non_empty_last_segments_len { - case separator_index+4: + case separator_index + 4: handle_repo_contrib_index(w, r, params) - case separator_index+5: + case separator_index + 5: params["mr_id"] = segments[separator_index+4] handle_repo_contrib_one(w, r, params) default: |