diff options
Diffstat (limited to '')
-rw-r--r-- | http_handle_repo_commit.go | 1 | ||||
-rw-r--r-- | http_server.go | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/http_handle_repo_commit.go b/http_handle_repo_commit.go index 25802ed..0e57002 100644 --- a/http_handle_repo_commit.go +++ b/http_handle_repo_commit.go @@ -123,4 +123,3 @@ func make_usable_file_patches(patch diff.Patch) (usable_file_patches []usable_fi } return } - 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: |