Sfoglia il codice sorgente

Fix missing return statement

master
GeertJohan 10 anni fa
parent
commit
d3f8a12f51
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      main.go

+ 1
- 0
main.go Vedi File

@@ -139,6 +139,7 @@ func handler(resp http.ResponseWriter, req *http.Request) {
repo.Version, ok = parseVersion(m[3])
if !ok {
sendNotFound(resp, "Version %q improperly considered invalid; please warn the service maintainers.", m[3])
return
}

repo.HubRoot = repo.GitRoot


Caricamento…
Annulla
Salva