Selaa lähdekoodia

Fixed typo

tags/v1.0.0^2
Akito13 5 vuotta sitten
committed by GitHub
vanhempi
commit
3c7904cd67
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      server/handlers.go

+ 1
- 1
server/handlers.go Näytä tiedosto

@@ -437,7 +437,7 @@ func (s *Server) putHandler(w http.ResponseWriter, r *http.Request) {

if contentLength == 0 {
log.Print("Empty content-length")
http.Error(w, errors.New("Could not uplpoad empty file").Error(), 400)
http.Error(w, errors.New("Could not upload empty file").Error(), 400)
return
}



Ladataan…
Peruuta
Tallenna