From c948b3141a374fb610ea192b3eb8d9dbf153cd29 Mon Sep 17 00:00:00 2001
From: "Robert S. Edmonds" <edmonds@debian.org>
Date: Mon, 24 Mar 2014 09:43:16 +0100
Subject: [PATCH] Various spelling and typo fixes

---
 Doxy.page.h                          | 2 +-
 doc/introduction.texi                | 2 +-
 man/kdig.1.in                        | 2 +-
 man/khost.1.in                       | 2 +-
 src/utils/common/params.h            | 2 +-
 src/utils/dig/dig_exec.c             | 4 ++--
 src/utils/dig/dig_params.h           | 4 ++--
 src/utils/nsupdate/nsupdate_params.h | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/Doxy.page.h b/Doxy.page.h
index 03e43e5f62..e1b91f2832 100644
--- a/Doxy.page.h
+++ b/Doxy.page.h
@@ -33,7 +33,7 @@ Knot DNS supports the following DNS features:
 - AXFR - master, slave
 - IXFR - master (primary master experimental), slave
 - TSIG
-- ENDS0
+- EDNS0
 - DNSSEC, including NSEC3
 - NSID
 - Unknown RR types
diff --git a/doc/introduction.texi b/doc/introduction.texi
index fccb2f1cad..96e53cb73d 100644
--- a/doc/introduction.texi
+++ b/doc/introduction.texi
@@ -31,7 +31,7 @@ Knot DNS supports the following DNS features:
 @item TCP/UDP protocols
 @item AXFR, IXFR - master, slave
 @item TSIG
-@item ENDS0
+@item EDNS0
 @item DNSSEC, including NSEC3
 @item NSID
 @item Unknown RR types
diff --git a/man/kdig.1.in b/man/kdig.1.in
index 69a19e85b1..c313411bf2 100644
--- a/man/kdig.1.in
+++ b/man/kdig.1.in
@@ -151,7 +151,7 @@ Show TTL value.
 Use TCP protocol (default is UDP for standard query and TCP for AXFR/IXFR).
 .TP
 .BR + [ no ] fail
-Stop quering next nameserver if SERVFAIL response is received.
+Stop querying next nameserver if SERVFAIL response is received.
 .TP
 .BR + [ no ] ignore
 Don't use TCP automatically if truncated reply is received.
diff --git a/man/khost.1.in b/man/khost.1.in
index e25ba359d0..1bf677b34c 100644
--- a/man/khost.1.in
+++ b/man/khost.1.in
@@ -41,7 +41,7 @@ Print help.
 Disable recursion.
 .TP
 .B \-s
-Stop quering next nameserver if SERVFAIL response is received.
+Stop querying next nameserver if SERVFAIL response is received.
 .TP
 .B \-T
 Use TCP protocol.
diff --git a/src/utils/common/params.h b/src/utils/common/params.h
index 78dd70a5c3..d7c34c63bf 100644
--- a/src/utils/common/params.h
+++ b/src/utils/common/params.h
@@ -98,7 +98,7 @@ typedef struct {
 	bool	hide_cname;
 } style_t;
 
-/*! \brief Parametr handler. */
+/*! \brief Parameter handler. */
 typedef int (*param_handle_f)(const char *arg, void *params);
 
 /*! \brief Parameter argument type. */
diff --git a/src/utils/dig/dig_exec.c b/src/utils/dig/dig_exec.c
index aaab0621c5..e10b7a8bb4 100644
--- a/src/utils/dig/dig_exec.c
+++ b/src/utils/dig/dig_exec.c
@@ -409,7 +409,7 @@ static void process_query(const query_t *query)
 	WALK_LIST(server, query->servers) {
 		srv_info_t *remote = (srv_info_t *)server;
 
-		DBG("Quering for owner(%s), class(%u), type(%u), server(%s), "
+		DBG("Querying for owner(%s), class(%u), type(%u), server(%s), "
 		    "port(%s), protocol(%s)\n", query->owner, query->class_num,
 		    query->type_num, remote->name, remote->service,
 		    get_sockname(socktype));
@@ -652,7 +652,7 @@ static void process_query_xfr(const query_t *query)
 	// Use the first nameserver from the list.
 	srv_info_t *remote = HEAD(query->servers);
 
-	DBG("Quering for owner(%s), class(%u), type(%u), server(%s), "
+	DBG("Querying for owner(%s), class(%u), type(%u), server(%s), "
 	    "port(%s), protocol(%s)\n", query->owner, query->class_num,
 	    query->type_num, remote->name, remote->service,
 	    get_sockname(socktype));
diff --git a/src/utils/dig/dig_params.h b/src/utils/dig/dig_params.h
index 7287fb7beb..c9caa3b3f5 100644
--- a/src/utils/dig/dig_params.h
+++ b/src/utils/dig/dig_params.h
@@ -90,7 +90,7 @@ typedef struct {
 	int32_t		wait;
 	/*!< Ignore truncated response. */
 	bool		ignore_tc;
-	/*!< Stop quering if servfail. */
+	/*!< Stop querying if servfail. */
 	bool		servfail_stop;
 	/*!< Class number (16unsigned + -1 uninitialized). */
 	int32_t		class_num;
@@ -116,7 +116,7 @@ typedef struct {
 
 /*! \brief Settings for dig. */
 typedef struct {
-	/*!< Stop processing - just pring help, version,... */
+	/*!< Stop processing - just print help, version,... */
 	bool	stop;
 	/*!< List of DNS queries to process. */
 	list_t	queries;
diff --git a/src/utils/nsupdate/nsupdate_params.h b/src/utils/nsupdate/nsupdate_params.h
index 599c9b46aa..e823f75d7f 100644
--- a/src/utils/nsupdate/nsupdate_params.h
+++ b/src/utils/nsupdate/nsupdate_params.h
@@ -43,7 +43,7 @@
 
 /*! \brief nsupdate-specific params data. */
 typedef struct {
-	/*!< Stop processing - just pring help, version,... */
+	/*!< Stop processing - just print help, version,... */
 	bool		stop;
 	/*!< List of files with query data. */
 	list_t		qfiles;
-- 
GitLab