]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: dns: Remove useless test on ns->dgram in dns_connect_nameserver()
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Mar 2021 15:58:35 +0000 (16:58 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Mar 2021 15:58:36 +0000 (16:58 +0100)
commit1e711beb51aacbdf5e432fe3ff9cda1fce147e44
treedcc44b95b69b0caebe197d20735dfadbcd01c467
parent1a1b674c2c0609facbbc6a54b966cf1ccd825c54
CLEANUP: dns: Remove useless test on ns->dgram in dns_connect_nameserver()

When dns_connect_nameserver() is called, the nameserver has always a dgram
field properly defined. The caller, dns_send_nameserver(), already performed
the appropriate verification.
src/dns.c