Skip to content

Commit

Permalink
Verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jun 12, 2021
1 parent 6117a11 commit 4caa7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnscrypt-proxy/oblivious_doh.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func parseODoHTargetConfig(config []byte) (ODoHTargetConfig, error) {

func parseODoHTargetConfigs(configs []byte) ([]ODoHTargetConfig, error) {
if len(configs) <= 2 {
return nil, fmt.Errorf("No configs")
return nil, fmt.Errorf("Server didn't return any ODoH configurations")
}
length := binary.BigEndian.Uint16(configs)
if len(configs) != int(length)+2 {
Expand Down

0 comments on commit 4caa7b6

Please sign in to comment.