about summary refs log tree commit diff
path: root/resolv/res_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/res_send.c')
-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 59cdc214e2..7c3d620fb6 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 || (buf2 != NULL && recvresp2))
+		if (recvresp1 > 1 || (buf2 != NULL && recvresp2 > 1))
 		  {
 		    *resplen2 = 1;
 		    return resplen;