Skip to content

Commit 7c53bd6

Browse files
committed
lint: bool comparision dnsx/transport.go
1 parent 02bd17a commit 7c53bd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

intra/dnsx/transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ func (r *resolver) preferencesFrom(qname string, qtyp uint16, s *x.DNSOpts, chos
11891189
id2 = ""
11901190
}
11911191
if isAnyBlockFree(id1, id2) {
1192-
if s.NOBLOCK != true {
1192+
if !s.NOBLOCK {
11931193
log.W("dns: pref: tr for %s; override NOBLOCK", id1, id2, qname)
11941194
s.NOBLOCK = true
11951195
}

0 commit comments

Comments
 (0)