Fix typos
authorJakub Wilk <jwilk@jwilk.net>
Mon, 12 Oct 2015 12:59:01 +0000 (14:59 +0200)
committerAndreas Schneider <asn@samba.org>
Mon, 12 Oct 2015 15:37:56 +0000 (17:37 +0200)
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
ChangeLog
doc/resolv_wrapper.1
doc/resolv_wrapper.1.txt
src/resolv_wrapper.c

index 08cbfa6f821287d8aa2602ba345a23d48496b350..0c4e25b65a14b91d869179d262b68142c38ea7ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,7 +14,7 @@ version 1.1.1 (released 2015-01-12)
   * Fix a possible segfault.
 
 version 1.1.0 (released 2014-12-02)
-  * Added case insensitive comparsion of dns names (dns faking).
+  * Added case insensitive comparison of dns names (dns faking).
   * Added support complete dns names (trailing dot) (dns faking).
   * Added support for recursive name resolving (dns faking).
   * Fixed calculation of response size (dns faking).
index 269196479635afb9a18cec4aa0993ddb1699bd11..52197135d15a73d84e278f9425976f37ccf81747 100644 (file)
@@ -34,7 +34,7 @@ resolv_wrapper \- A wrapper for dns name resolving or dns faking\&.
 LD_PRELOAD=libresolv_wrapper\&.so RESOLV_WRAPPER_CONF="/path/to/resolv\&.conf" \fB\&./myapplication\fR
 .SH "DESCRIPTION"
 .sp
-resolv_wrapper makes it possible on most UNIX platforms to contact your own DNS implmentation in your test environment\&. It requires socket_wrapper to be able to contact it\&. If it doesn\(cqt work on a special platform the wrapper is able to fake DNS queries and return valid responses to your application\&.
+resolv_wrapper makes it possible on most UNIX platforms to contact your own DNS implementation in your test environment\&. It requires socket_wrapper to be able to contact it\&. If it doesn\(cqt work on a special platform the wrapper is able to fake DNS queries and return valid responses to your application\&.
 .sp
 .RS 4
 .ie n \{\
index e2e68378a0f3faf7ecf621419039745dc786e3f8..12f96d0155f2ef981adf0d9837ace09d66e9c504 100644 (file)
@@ -16,7 +16,7 @@ DESCRIPTION
 -----------
 
 resolv_wrapper makes it possible on most UNIX platforms to contact your own DNS
-implmentation in your test environment. It requires socket_wrapper to be able
+implementation in your test environment. It requires socket_wrapper to be able
 to contact it.
 If it doesn't work on a special platform the wrapper is able to fake DNS queries
 and return valid responses to your application.
index d6a17cf51893a6e268af90d948926d41368664dc..77baa452ab79b1ada5c344de714b0b33ce67965e 100644 (file)
@@ -340,7 +340,7 @@ static ssize_t rwrap_fake_header(uint8_t **header_blob, size_t remaining,
        h->id = res_randomid();         /* random query ID */
        h->qr = 1;                      /* response flag */
        h->rd = 1;                      /* recursion desired */
-       h->ra = 1;                      /* resursion available */
+       h->ra = 1;                      /* recursion available */
 
        h->qdcount = htons(1);          /* no. of questions */
        h->ancount = htons(ancount);    /* no. of answers */
@@ -911,7 +911,7 @@ static ssize_t rwrap_fake_answer(struct rwrap_fake_rr *rrs,
 /* Reads in a file in the following format:
  * TYPE RDATA
  *
- * Malformed entried are silently skipped.
+ * Malformed entries are silently skipped.
  * Allocates answer buffer of size anslen that has to be freed after use.
  */
 static int rwrap_res_fake_hosts(const char *hostfile,