From d3bb7b6b7b8478776d34bbcbfeaf1c4ef82480ba Mon Sep 17 00:00:00 2001 From: Tinderbox User Date: Mon, 25 Jun 2012 23:45:45 +0000 Subject: [PATCH] update copyright notice --- lib/dns/nsec.c | 4 ++-- lib/dns/nsec3.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/nsec.c b/lib/dns/nsec.c index d399f1f459..69207d09de 100644 --- a/lib/dns/nsec.c +++ b/lib/dns/nsec.c @@ -54,7 +54,7 @@ dns_nsec_setbit(unsigned char *array, unsigned int type, unsigned int bit) { array[type / 8] &= (~mask & 0xFF); } -isc_boolean_t +isc_boolean_t dns_nsec_isset(const unsigned char *array, unsigned int type) { unsigned int byte, shift, mask; @@ -234,7 +234,7 @@ dns_nsec_typepresent(dns_rdata_t *nsec, dns_rdatatype_t type) { continue; if (type < (window * 256) + len * 8) present = ISC_TF(dns_nsec_isset(&nsecstruct.typebits[i], - type % 256)); + type % 256)); break; } dns_rdata_freestruct(&nsecstruct); diff --git a/lib/dns/nsec3.c b/lib/dns/nsec3.c index 231de132fc..4975bf318a 100644 --- a/lib/dns/nsec3.c +++ b/lib/dns/nsec3.c @@ -211,7 +211,7 @@ dns_nsec3_typepresent(dns_rdata_t *rdata, dns_rdatatype_t type) { continue; if (type < (window * 256) + len * 8) present = ISC_TF(dns_nsec_isset(&nsec3.typebits[i], - type % 256)); + type % 256)); break; } dns_rdata_freestruct(&nsec3);