Selaa lähdekoodia

Merge pull request #205 from Akito13/master

Fixed typo
tags/v1.0.0
Andrea Spacca 5 vuotta sitten
committed by GitHub
vanhempi
commit
c4dbd39527
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