aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_send.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-12-31 19:08:39 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-31 19:08:39 +0100
commitbbe989ee87ee81f45a4f6450bff468f7a193e79e (patch)
treeb7a81918665c0388ad6b9f0c52a97775ad6c69f9 /resolv/res_send.c
parentb76e065991ec01299225d9da90a627ebe6c1ac97 (diff)
downloadglibc-bbe989ee87ee81f45a4f6450bff468f7a193e79e.tar
glibc-bbe989ee87ee81f45a4f6450bff468f7a193e79e.tar.gz
glibc-bbe989ee87ee81f45a4f6450bff468f7a193e79e.tar.bz2
glibc-bbe989ee87ee81f45a4f6450bff468f7a193e79e.zip
resolv: Deprecate RES_BLAST
Diffstat (limited to 'resolv/res_send.c')
-rw-r--r--resolv/res_send.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/resolv/res_send.c b/resolv/res_send.c
index cc2a7de886..1839225605 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -424,8 +424,7 @@ __libc_res_nsend(res_state statp, const u_char *buf, int buflen,
* Some resolvers want to even out the load on their nameservers.
* Note that RES_BLAST overrides RES_ROTATE.
*/
- if (__builtin_expect ((statp->options & RES_ROTATE) != 0, 0) &&
- (statp->options & RES_BLAST) == 0) {
+ if (__builtin_expect ((statp->options & RES_ROTATE) != 0, 0)) {
struct sockaddr_in ina;
struct sockaddr_in6 *inp;
int lastns = statp->nscount - 1;