aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-10-30 16:55:44 +0000
committerUlrich Drepper <drepper@redhat.com>2008-10-30 16:55:44 +0000
commit332c4465b00f7445dc83f9052290209e68c1ab0d (patch)
tree9cc4aad4106fb9f3295ce7948891b3a084a262f5 /resolv
parent21b07d8ba586c231710a5197888e7130f996dd47 (diff)
downloadglibc-332c4465b00f7445dc83f9052290209e68c1ab0d.tar
glibc-332c4465b00f7445dc83f9052290209e68c1ab0d.tar.gz
glibc-332c4465b00f7445dc83f9052290209e68c1ab0d.tar.bz2
glibc-332c4465b00f7445dc83f9052290209e68c1ab0d.zip
* grp/initgroups.c (internal_getgrouplist): Don't prematurely
abort if there is no initgroups_dyn function.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 7c3d620fb6..8f0a6018b6 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -1008,7 +1008,7 @@ send_dg(res_state statp,
}
if (n == 0) {
Dprint(statp->options & RES_DEBUG, (stdout, ";; timeout\n"));
- if (recvresp1 > 1 || (buf2 != NULL && recvresp2 > 1))
+ if (resplen > 1 && (recvresp1 || (buf2 != NULL && recvresp2)))
{
*resplen2 = 1;
return resplen;