Skip to content

Commit

Permalink
Code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
miekg committed May 19, 2018
1 parent e77ce9b commit 00ecfcb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/dnsserver/https.go
Expand Up @@ -21,8 +21,7 @@ func postRequestToMsg(req *http.Request) (*dns.Msg, error) {

buf, err := ioutil.ReadAll(req.Body)
if err != nil {
return nil, nil

return nil, err
}
m := new(dns.Msg)
err = m.Unpack(buf)
Expand Down

0 comments on commit 00ecfcb

Please sign in to comment.