const origin

This commit is contained in:
Mark Andrews
2012-01-27 12:39:33 +00:00
parent eb038a02d0
commit 579f9be3f9
2 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: name.h,v 1.126.332.5 2010/07/09 23:45:55 tbox Exp $ */
/* $Id: name.h,v 1.126.332.6 2012/01/27 12:39:33 marka Exp $ */
#ifndef DNS_NAME_H
#define DNS_NAME_H 1
@@ -750,7 +750,7 @@ dns_name_towire(const dns_name_t *name, dns_compress_t *cctx,
isc_result_t
dns_name_fromtext(dns_name_t *name, isc_buffer_t *source,
dns_name_t *origin, unsigned int options,
const dns_name_t *origin, unsigned int options,
isc_buffer_t *target);
/*%<
* Convert the textual representation of a DNS name at source

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: name.c,v 1.165.120.5 2011/03/12 04:57:27 tbox Exp $ */
/* $Id: name.c,v 1.165.120.6 2012/01/27 12:39:33 marka Exp $ */
/*! \file */
@@ -1021,7 +1021,7 @@ dns_name_toregion(dns_name_t *name, isc_region_t *r) {
isc_result_t
dns_name_fromtext(dns_name_t *name, isc_buffer_t *source,
dns_name_t *origin, unsigned int options,
const dns_name_t *origin, unsigned int options,
isc_buffer_t *target)
{
unsigned char *ndata, *label = NULL;