Commit bdfaef63 authored by Francis Dupont's avatar Francis Dupont

spelling

parent 47b7dfff
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: rbtdb.c,v 1.270 2008/11/14 14:07:48 marka Exp $ */ /* $Id: rbtdb.c,v 1.271 2009/01/17 14:50:20 fdupont Exp $ */
/*! \file */ /*! \file */
...@@ -621,7 +621,7 @@ static void setnsec3parameters(dns_db_t *db, rbtdb_version_t *version, ...@@ -621,7 +621,7 @@ static void setnsec3parameters(dns_db_t *db, rbtdb_version_t *version,
/*% /*%
* 'init_count' is used to initialize 'newheader->count' which inturn * 'init_count' is used to initialize 'newheader->count' which inturn
* is used to determine where in the cycle rrset-order cyclic starts. * is used to determine where in the cycle rrset-order cyclic starts.
* We don't lock this as we don't care about simultanious updates. * We don't lock this as we don't care about simultaneous updates.
* *
* Note: * Note:
* Both init_count and header->count can be ISC_UINT32_MAX. * Both init_count and header->count can be ISC_UINT32_MAX.
...@@ -4801,8 +4801,8 @@ expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) { ...@@ -4801,8 +4801,8 @@ expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) {
/* /*
* Note that 'log' can be true IFF rbtdb->overmem is also true. * Note that 'log' can be true IFF rbtdb->overmem is also true.
* rbtdb->ovemem can currently only be true for cache databases * rbtdb->overmem can currently only be true for cache
* -- hence all of the "overmem cache" log strings. * databases -- hence all of the "overmem cache" log strings.
*/ */
log = ISC_TF(isc_log_wouldlog(dns_lctx, level)); log = ISC_TF(isc_log_wouldlog(dns_lctx, level));
if (log) if (log)
...@@ -5942,7 +5942,7 @@ addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, ...@@ -5942,7 +5942,7 @@ addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
/* /*
* Update the zone's secure status. If version is non-NULL * Update the zone's secure status. If version is non-NULL
* this is defered until closeversion() is called. * this is deferred until closeversion() is called.
*/ */
if (result == ISC_R_SUCCESS && version == NULL && !IS_CACHE(rbtdb)) if (result == ISC_R_SUCCESS && version == NULL && !IS_CACHE(rbtdb))
iszonesecure(db, version, rbtdb->origin_node); iszonesecure(db, version, rbtdb->origin_node);
...@@ -6126,7 +6126,7 @@ subtractrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, ...@@ -6126,7 +6126,7 @@ subtractrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
/* /*
* Update the zone's secure status. If version is non-NULL * Update the zone's secure status. If version is non-NULL
* this is defered until closeversion() is called. * this is deferred until closeversion() is called.
*/ */
if (result == ISC_R_SUCCESS && version == NULL && !IS_CACHE(rbtdb)) if (result == ISC_R_SUCCESS && version == NULL && !IS_CACHE(rbtdb))
iszonesecure(db, rbtdb->current_version, rbtdb->origin_node); iszonesecure(db, rbtdb->current_version, rbtdb->origin_node);
...@@ -6181,7 +6181,7 @@ deleterdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, ...@@ -6181,7 +6181,7 @@ deleterdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version,
/* /*
* Update the zone's secure status. If version is non-NULL * Update the zone's secure status. If version is non-NULL
* this is defered until closeversion() is called. * this is deferred until closeversion() is called.
*/ */
if (result == ISC_R_SUCCESS && version == NULL && !IS_CACHE(rbtdb)) if (result == ISC_R_SUCCESS && version == NULL && !IS_CACHE(rbtdb))
iszonesecure(db, rbtdb->current_version, rbtdb->origin_node); iszonesecure(db, rbtdb->current_version, rbtdb->origin_node);
...@@ -6872,7 +6872,7 @@ dns_rbtdb_create ...@@ -6872,7 +6872,7 @@ dns_rbtdb_create
isc_mem_attach(mctx, &rbtdb->common.mctx); isc_mem_attach(mctx, &rbtdb->common.mctx);
/* /*
* Must be initalized before free_rbtdb() is called. * Must be initialized before free_rbtdb() is called.
*/ */
isc_ondestroy_init(&rbtdb->common.ondest); isc_ondestroy_init(&rbtdb->common.ondest);
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: rdataset.c,v 1.82 2008/09/24 02:46:22 marka Exp $ */ /* $Id: rdataset.c,v 1.83 2009/01/17 14:53:36 fdupont Exp $ */
/*! \file */ /*! \file */
...@@ -342,7 +342,7 @@ towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name, ...@@ -342,7 +342,7 @@ towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name,
} }
/* /*
* Do we want to shuffle this anwer? * Do we want to shuffle this answer?
*/ */
if (!question && count > 1 && if (!question && count > 1 &&
(!WANT_FIXED(rdataset) || order != NULL) && (!WANT_FIXED(rdataset) || order != NULL) &&
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: rdataslab.c,v 1.48 2008/09/24 02:46:22 marka Exp $ */ /* $Id: rdataslab.c,v 1.49 2009/01/17 14:55:03 fdupont Exp $ */
/*! \file */ /*! \file */
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
* *
* DNSSEC order traversal is performed by walking the data records. * DNSSEC order traversal is performed by walking the data records.
* *
* The order is stored with record to allow for efficient reconstuction of * The order is stored with record to allow for efficient reconstruction
* of the offset table following a merge or subtraction. * of the offset table following a merge or subtraction.
* *
* The iterator methods here currently only support DNSSEC order iteration. * The iterator methods here currently only support DNSSEC order iteration.
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: request.c,v 1.82 2008/07/22 03:43:04 marka Exp $ */ /* $Id: request.c,v 1.83 2009/01/17 14:56:25 fdupont Exp $ */
/*! \file */ /*! \file */
...@@ -95,7 +95,7 @@ struct dns_request { ...@@ -95,7 +95,7 @@ struct dns_request {
#define DNS_REQUEST_F_SENDING 0x0002 #define DNS_REQUEST_F_SENDING 0x0002
#define DNS_REQUEST_F_CANCELED 0x0004 /*%< ctlevent received, or otherwise #define DNS_REQUEST_F_CANCELED 0x0004 /*%< ctlevent received, or otherwise
synchronously canceled */ synchronously canceled */
#define DNS_REQUEST_F_TIMEDOUT 0x0008 /*%< cancelled due to a timeout */ #define DNS_REQUEST_F_TIMEDOUT 0x0008 /*%< canceled due to a timeout */
#define DNS_REQUEST_F_TCP 0x0010 /*%< This request used TCP */ #define DNS_REQUEST_F_TCP 0x0010 /*%< This request used TCP */
#define DNS_REQUEST_CANCELED(r) \ #define DNS_REQUEST_CANCELED(r) \
(((r)->flags & DNS_REQUEST_F_CANCELED) != 0) (((r)->flags & DNS_REQUEST_F_CANCELED) != 0)
...@@ -197,7 +197,7 @@ dns_requestmgr_create(isc_mem_t *mctx, ...@@ -197,7 +197,7 @@ dns_requestmgr_create(isc_mem_t *mctx,
dns_dispatch_attach(dispatchv6, &requestmgr->dispatchv6); dns_dispatch_attach(dispatchv6, &requestmgr->dispatchv6);
requestmgr->mctx = NULL; requestmgr->mctx = NULL;
isc_mem_attach(mctx, &requestmgr->mctx); isc_mem_attach(mctx, &requestmgr->mctx);
requestmgr->eref = 1; /* implict attach */ requestmgr->eref = 1; /* implicit attach */
requestmgr->iref = 0; requestmgr->iref = 0;
ISC_LIST_INIT(requestmgr->whenshutdown); ISC_LIST_INIT(requestmgr->whenshutdown);
ISC_LIST_INIT(requestmgr->requests); ISC_LIST_INIT(requestmgr->requests);
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: resolver.c,v 1.388 2009/01/07 23:47:46 tbox Exp $ */ /* $Id: resolver.c,v 1.389 2009/01/17 14:59:03 fdupont Exp $ */
/*! \file */ /*! \file */
...@@ -3839,7 +3839,7 @@ validated(isc_task_t *task, isc_event_t *event) { ...@@ -3839,7 +3839,7 @@ validated(isc_task_t *task, isc_event_t *event) {
/* /*
* If we are asking for a SOA record set the cache time * If we are asking for a SOA record set the cache time
* to zero to facilitate locating the containing zone of * to zero to facilitate locating the containing zone of
* a arbitary zone. * a arbitrary zone.
*/ */
ttl = fctx->res->view->maxncachettl; ttl = fctx->res->view->maxncachettl;
if (fctx->type == dns_rdatatype_soa && if (fctx->type == dns_rdatatype_soa &&
...@@ -4266,7 +4266,7 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_adbaddrinfo_t *addrinfo, ...@@ -4266,7 +4266,7 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_adbaddrinfo_t *addrinfo,
* Defer any further validations. * Defer any further validations.
* This prevents multiple validators * This prevents multiple validators
* from manipulating fctx->rmessage * from manipulating fctx->rmessage
* simultaniously. * simultaneously.
*/ */
valoptions |= DNS_VALIDATOR_DEFER; valoptions |= DNS_VALIDATOR_DEFER;
} }
...@@ -4582,7 +4582,7 @@ ncache_message(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo, ...@@ -4582,7 +4582,7 @@ ncache_message(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo,
/* /*
* If we are asking for a SOA record set the cache time * If we are asking for a SOA record set the cache time
* to zero to facilitate locating the containing zone of * to zero to facilitate locating the containing zone of
* a arbitary zone. * a arbitrary zone.
*/ */
ttl = fctx->res->view->maxncachettl; ttl = fctx->res->view->maxncachettl;
if (fctx->type == dns_rdatatype_soa && if (fctx->type == dns_rdatatype_soa &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment