From: Wouter Wijngaards Date: Wed, 5 Jul 2006 12:54:46 +0000 (+0000) Subject: Sunos4 compiler found a small nit, before it choked in inet6 stuff. X-Git-Tag: release-1.1.0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38daf5b3db45fb189049ae564eb02a3eba15d6fd;p=thirdparty%2Fldns.git Sunos4 compiler found a small nit, before it choked in inet6 stuff. --- diff --git a/packet.c b/packet.c index 06ee7ab5..77c1f2a7 100644 --- 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);