Skip to content

Commit

Permalink
missing return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
matst80 committed Oct 22, 2024
1 parent 88c8af0 commit 3df52ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func (h *hash) mailHandler(w http.ResponseWriter, r *http.Request) {
if err != nil {
log.Printf("Error reading %s: %v", r.URL.Path, err)
send404(w)
return
}
valid, fileName := h.validateHash(r.URL)
if !valid {
Expand Down

0 comments on commit 3df52ed

Please sign in to comment.