mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
Merge pull request #3210 from ebi-yade/patch-1
remove a redundant error check
This commit is contained in:
commit
e9d12b7f83
1 changed files with 1 additions and 3 deletions
|
@ -121,9 +121,7 @@ func setupHandler(www string) http.Handler {
|
|||
err = errors.New("couldn't get uploaded file size")
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
utils.DefaultLogger.Infof("Error receiving upload: %#v", err)
|
||||
}
|
||||
utils.DefaultLogger.Infof("Error receiving upload: %#v", err)
|
||||
}
|
||||
io.WriteString(w, `<html><body><form action="/demo/upload" method="post" enctype="multipart/form-data">
|
||||
<input type="file" name="uploadfile"><br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue