Skip to content

Commit

Permalink
Merge pull request #159 from testwill/fmt
Browse files Browse the repository at this point in the history
chore: unnecessary use of fmt.Sprintf
  • Loading branch information
GreyXor committed Jun 6, 2024
2 parents 72be485 + fa6e999 commit 1a90868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doh-server/ietf.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (s *Server) parseRequestIETF(ctx context.Context, w http.ResponseWriter, r
if len(requestBinary) == 0 {
return &DNSRequest{
errcode: 400,
errtext: fmt.Sprintf("Invalid argument value: \"dns\""),
errtext: "Invalid argument value: \"dns\"",
}
}

Expand Down

0 comments on commit 1a90868

Please sign in to comment.