mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-27 06:30:19 +01:00
Fixed typo
This commit is contained in:
parent
058f6e581c
commit
3c7904cd67
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ func (s *Server) putHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
if contentLength == 0 {
|
if contentLength == 0 {
|
||||||
log.Print("Empty content-length")
|
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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue