resolv: Remove unnecessary res_isourserver_p call from send_dg
authorFlorian Weimer <fweimer@redhat.com>
Thu, 15 Jul 2021 06:28:51 +0000 (08:28 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 15 Jul 2021 07:00:24 +0000 (09:00 +0200)
commitee3639e0fe61a3692adf660e04f9e6d56475ff52
treeeadffbd9e72ab96b9110bf74b2c54040bc083125
parentadcc572a29169e5b571ab06b1a5bf941985d8fe6
resolv: Remove unnecessary res_isourserver_p call from send_dg

As the comment indicates, the check is unnecessary due to the way the
UDP socket is set up.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
resolv/res_send.c