]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Sunos4 compiler found a small nit, before it choked in inet6 stuff.
authorWouter Wijngaards <wouter@NLnetLabs.nl>
Wed, 5 Jul 2006 12:54:46 +0000 (12:54 +0000)
committerWouter Wijngaards <wouter@NLnetLabs.nl>
Wed, 5 Jul 2006 12:54:46 +0000 (12:54 +0000)
packet.c

index 06ee7ab5afd59c71240809bbd7cc40f49a1c1688..77c1f2a7e772395860089b86056b13a347494fa4 100644 (file)
--- a/packet.c
+++ b/packet.c
@@ -351,7 +351,7 @@ ldns_pkt_rr(ldns_pkt *pkt, ldns_pkt_section sec, ldns_rr *rr)
 
        rrs = ldns_pkt_get_section_clone(pkt, sec);
        if (!rrs) {
-               return NULL;
+               return false;
        }
        rr_count = ldns_rr_list_rr_count(rrs);