mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
update copyright notice
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (C) 1999-2003 Internet Software Consortium.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: rdataslab.c,v 1.44 2008/04/01 01:37:25 marka Exp $ */
|
||||
/* $Id: rdataslab.c,v 1.45 2008/04/01 23:47:10 tbox Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -261,7 +261,7 @@ dns_rdataslab_fromrdataset(dns_rdataset_t *rdataset, isc_mem_t *mctx,
|
||||
result = ISC_R_NOMEMORY;
|
||||
goto free_rdatas;
|
||||
}
|
||||
|
||||
|
||||
#if DNS_RDATASET_FIXED
|
||||
/* Allocate temporary offset table. */
|
||||
offsettable = isc_mem_get(mctx, nalloc * sizeof(unsigned int));
|
||||
@@ -318,7 +318,7 @@ dns_rdataslab_fromrdataset(dns_rdataset_t *rdataset, isc_mem_t *mctx,
|
||||
memcpy(rawbuf, x[i].rdata.data, x[i].rdata.length);
|
||||
rawbuf += x[i].rdata.length;
|
||||
}
|
||||
|
||||
|
||||
#if DNS_RDATASET_FIXED
|
||||
fillin_offsets(offsetbase, offsettable, nalloc);
|
||||
isc_mem_put(mctx, offsettable, nalloc * sizeof(unsigned int));
|
||||
@@ -400,7 +400,7 @@ rdataset_current(dns_rdataset_t *rdataset, dns_rdata_t *rdata) {
|
||||
raw += 4;
|
||||
#else
|
||||
raw += 2;
|
||||
#endif
|
||||
#endif
|
||||
if (rdataset->type == dns_rdatatype_rrsig) {
|
||||
flags = ((*raw & DNS_RDATASLAB_WARNMASK)
|
||||
>> DNS_RDATASLAB_WARNSHIFT)
|
||||
@@ -568,7 +568,7 @@ rdata_in_slab(unsigned char *slab, unsigned int reservelen,
|
||||
|
||||
for (i = 0; i < count; i++) {
|
||||
rdata_from_slab(¤t, rdclass, type, &trdata);
|
||||
|
||||
|
||||
n = dns_rdata_compare(&trdata, rdata);
|
||||
if (n == 0)
|
||||
return (ISC_TRUE);
|
||||
|
Reference in New Issue
Block a user