From 08d94b539a96857670540342df4d81ea55348d03 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Thu, 3 Jun 1999 19:03:48 +0000 Subject: [PATCH] allow finding types and names but not returning them. This is basically an existance check --- lib/dns/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/message.c b/lib/dns/message.c index 666b82db65..b6029bbec1 100644 --- a/lib/dns/message.c +++ b/lib/dns/message.c @@ -1389,7 +1389,7 @@ dns_message_findname(dns_message_t *msg, dns_section_t section, /* * And now look for the type. */ - if (rdataset == NULL) + if (type == dns_rdatatype_any) return (DNS_R_SUCCESS); result = findtype(rdataset, foundname, type);