Commit 5b827cb3 authored by klemens's avatar klemens Committed by Jan Včelák
Browse files

trivial spelling fixes, as found by misspell_fixer

parent 5e579387
......@@ -1964,7 +1964,7 @@ PREDEFINED =
EXPAND_AS_DEFINED =
# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
# remove all refrences to function-like macros that are alone on a line, have an
# remove all references to function-like macros that are alone on a line, have an
# all uppercase name, and do not end with a semicolon. Such function macros are
# typically used for boiler-plate code, and will confuse the parser if not
# removed.
......
......@@ -40,13 +40,13 @@ Bugfixes:
---------
- DNSSEC: Allow import of duplicate private key into the KASP
- DNSSEC: Avoid duplicate NSEC for Wildcard No Data answer
- Fix server crash when an incomming transfer is in progress and reload is issued
- Fix server crash when an incoming transfer is in progress and reload is issued
- Fix socket polling when configured with many interfaces and threads
- Fix compilation against Nettle 3.2
Improvements:
-------------
- Select correct source address for UDP messages recieved on ANY address
- Select correct source address for UDP messages received on ANY address
- Extend documentation of knotc commands
Knot DNS 2.1.0 (2016-01-14)
......@@ -253,7 +253,7 @@ Knot DNS 1.5.2 (2014-09-08)
Bugfixes:
---------
- Some RR parsing corner cases were not handled properly
- AXFR-style IXFR was refused and had to be retransfered
- AXFR-style IXFR was refused and had to be retransferred
- Hash character (#) was not properly escaped when storing text zone file
Knot DNS 1.5.1 (2014-08-19)
......@@ -391,7 +391,7 @@ Bugfixes:
- Journal race condition
- Notifies are sent immediately
- Crash in particular additionals processing
- Race condition in event cancelation
- Race condition in event cancellation
- Journal corruption after failed transactions
- DNSSEC: fixed detection of ECDSA support
- Refactored zone loading
......@@ -801,5 +801,5 @@ Known issues:
- RRSet rotation not implmented
- Dynamic update support
- IXFR code might be flaky sometimes
- IXFR may be slow when too much (10 000+) RRSets are transfered at
- IXFR may be slow when too much (10 000+) RRSets are transferred at
once
......@@ -92,7 +92,7 @@ to get all section identifiers or to get a specific configuration item::
Modifying operations require an active configuration database transaction.
Just one transaction can be active at a time. Such a transaction then can
be aborted or commited. A semantic check is executed automatically before
be aborted or committed. A semantic check is executed automatically before
every commit::
$ knotc conf-begin
......
......@@ -105,7 +105,7 @@ message Message {
enum Type {
// AUTH_QUERY is a DNS query message received from a resolver by an
// authoritative name server, from the perspective of the authorative
// authoritative name server, from the perspective of the authoritative
// name server.
AUTH_QUERY = 1;
......
......@@ -475,7 +475,7 @@ int hattrie_apply_rev_ahtable(hattrie_t* T, int (*f)(void*,void*), void* d)
int hattrie_split_mid(node_ptr node, unsigned *left_m, unsigned *right_m)
{
/* count the number of occourances of every leading character */
unsigned int cs[NODE_CHILDS]; // occurance count for leading chars
unsigned int cs[NODE_CHILDS]; // occurrence count for leading chars
memset(cs, 0, NODE_CHILDS * sizeof(unsigned int));
uint16_t len;
const char* key;
......
......@@ -475,7 +475,7 @@ static txnid_t mdb_debug_start;
* The string is printed literally, with no format processing.
*/
#define DPUTS(arg) DPRINTF(("%s", arg))
/** Debuging output value of a cursor DBI: Negative in a sub-cursor. */
/** Debugging output value of a cursor DBI: Negative in a sub-cursor. */
#define DDBI(mc) \
(((mc)->mc_flags & C_SUB) ? -(int)(mc)->mc_dbi : (int)(mc)->mc_dbi)
/** @} */
......
......@@ -34,17 +34,17 @@
})
/**
* The default comparision macro for @BIN_SEARCH_FIRST_GE_CMP().
* The default comparison macro for @BIN_SEARCH_FIRST_GE_CMP().
**/
#define ARY_LT_NUM(ary,i,x) (ary)[i] < (x)
/**
* Same as @BIN_SEARCH_FIRST_GE_CMP(), but uses the default `<` operator for comparisions.
* Same as @BIN_SEARCH_FIRST_GE_CMP(), but uses the default `<` operator for comparisons.
**/
#define BIN_SEARCH_FIRST_GE(ary,N,x) BIN_SEARCH_FIRST_GE_CMP(ary,N,ARY_LT_NUM,x)
/**
* Search the sorted array @ary of @N elements (non-decreasing) for the first occurence of @x.
* Returns the index or -1 if no such element exists. Uses the `<` operator for comparisions.
* Search the sorted array @ary of @N elements (non-decreasing) for the first occurrence of @x.
* Returns the index or -1 if no such element exists. Uses the `<` operator for comparisons.
**/
#define BIN_SEARCH_EQ(ary,N,x) ({ int i = BIN_SEARCH_FIRST_GE(ary,N,x); if (i >= (N) || (ary)[i] != (x)) i=-1; i; })
......@@ -1947,7 +1947,7 @@ PREDEFINED =
EXPAND_AS_DEFINED =
# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
# remove all refrences to function-like macros that are alone on a line, have an
# remove all references to function-like macros that are alone on a line, have an
# all uppercase name, and do not end with a semicolon. Such function macros are
# typically used for boiler-plate code, and will confuse the parser if not
# removed.
......
......@@ -251,7 +251,7 @@ int dnssec_algorithm_key_size_range(dnssec_key_algorithm_t algorithm,
unsigned *min, unsigned *max);
/*!
* Check if the private key size matches DNSKEY contraints.
* Check if the private key size matches DNSKEY constraints.
*
* \param algorithm DNSKEY algorithm.
* \param bits Private key size.
......
......@@ -30,7 +30,7 @@
/* -- key parameters ------------------------------------------------------- */
/*!
* Key parameters as writting in zone config file.
* Key parameters as writing in zone config file.
*/
struct key_params {
char *id;
......
......@@ -35,6 +35,6 @@ size_t bignum_size_s(const dnssec_binary_t *value);
/*!
* Write unsigned number on a fixed width in a big-endian byte order.
*
* The destination size has to be set properly to accomodate used encoding.
* The destination size has to be set properly to accommodate used encoding.
*/
void bignum_write(dnssec_binary_t *dest, const dnssec_binary_t *value);
......@@ -667,7 +667,7 @@ static int cmd_zone_add(int argc, char *argv[])
int r = dnssec_kasp_zone_exists(kasp, zone_name);
if (r == DNSSEC_EOK) {
error("Zone with given name alredy exists.");
error("Zone with given name already exists.");
return 1;
} else if (r != DNSSEC_NOT_FOUND) {
error("Failed to check if given zone exists (%s).", dnssec_strerror(r));
......
......@@ -224,7 +224,7 @@ static int sign_ctx_add_data(dnssec_sign_ctx_t *ctx,
* \param[in] sig_incepted Timestamp of signature inception.
* \param[in] sig_expires Timestamp of signature expiration.
*
* \return Error code, KNOT_EOK if succesful.
* \return Error code, KNOT_EOK if successful.
*/
static int rrsigs_create_rdata(knot_rrset_t *rrsigs, dnssec_sign_ctx_t *ctx,
const knot_rrset_t *covered,
......
......@@ -1071,7 +1071,7 @@ static int sign_changeset_wrap(knot_rrset_t *chg_rrset, changeset_signing_data_t
/*
* If RRSet in zone DOES have RRSIGs although we
* should not sign it, DDNS-caused change to node/rr
* occured and we have to drop all RRSIGs.
* occurred and we have to drop all RRSIGs.
*
* OR
*
......
......@@ -115,7 +115,7 @@ typedef struct synth_template {
int mask;
} synth_template_t;
/*! \brief Substitute all occurences of given character. */
/*! \brief Substitute all occurrences of given character. */
static void str_subst(char *str, size_t len, char from, char to)
{
for (int i = 0; i < len; ++i) {
......
......@@ -95,7 +95,7 @@ static int create_txt_rrset(knot_rrset_t *rrset, const knot_dname_t *owner,
/*!
* \brief Create a response for a TXT CHAOS query.
*
* \param return KNOT_RCODE_NOERROR if the response was succesfully created,
* \param return KNOT_RCODE_NOERROR if the response was successfully created,
* otherwise an RCODE representing the failure.
*/
static int answer_txt(knot_pkt_t *response)
......
......@@ -40,7 +40,7 @@
* \param name Domain name to create the 'next closer' name to.
*
* \return 'Next closer name' to the given domain name or NULL if an error
* occured.
* occurred.
*/
static knot_dname_t *ns_next_closer(const knot_dname_t *closest_encloser,
const knot_dname_t *name)
......@@ -98,7 +98,7 @@ static int ns_put_nsec3_from_node(const zone_node_t *node,
* \param resp Response where to add the RRSets.
*
* \retval KNOT_EOK
* \retval NS_ERR_SERVFAIL if a runtime collision occured. The server should
* \retval NS_ERR_SERVFAIL if a runtime collision occurred. The server should
* respond with SERVFAIL in such case.
*/
static int ns_put_covering_nsec3(const zone_contents_t *zone,
......@@ -214,7 +214,7 @@ static int ns_put_nsec3_closest_encloser_proof(
*
* \param name Domain name to get the wildcard child name of.
*
* \return Wildcard child name or NULL if an error occured.
* \return Wildcard child name or NULL if an error occurred.
*/
static knot_dname_t *ns_wildcard_child_name(const knot_dname_t *name)
{
......
......@@ -849,7 +849,7 @@ static int changeset_pack(const changeset_t *chs, journal_t *j)
/* Serialize changeset, saving it bit by bit. */
ret = serialize_and_store_chgset(chs, journal_entry, entry_size);
/* Unmap the journal entry.
* If successfuly written changeset to journal, validate the entry. */
* If successfully written changeset to journal, validate the entry. */
int unmap_ret = journal_unmap(j, k, journal_entry, ret == KNOT_EOK);
if (ret == KNOT_EOK && unmap_ret != KNOT_EOK) {
ret = unmap_ret; /* Propagate the result. */
......
......@@ -93,7 +93,7 @@ static void udp_handle(udp_context_t *udp, int fd, struct sockaddr_storage *ss,
state = knot_overlay_produce(&udp->overlay, ans);
}
/* Send response only if finished successfuly. */
/* Send response only if finished successfully. */
if (state == KNOT_STATE_DONE) {
tx->iov_len = ans->size;
} else {
......
......@@ -490,7 +490,7 @@ static int add_nsec3_node(zone_contents_t *zone, zone_node_t *node)
}
}
// how to know if this is successfull??
// how to know if this is successful??
ret = zone_tree_insert(zone->nsec3_nodes, node);
if (ret != KNOT_EOK) {
return ret;
......
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