From: Antonio Quartulli
Date: Sat, 19 Aug 2017 07:52:09 +0000 (+0800)
Subject: fix a couple of typ0s in comments and strings
X-Git-Tag: v2.4.4~12
X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=010ffbed20bcb19c59aeb6e46ae76d93c08c67ea;p=thirdparty%2Fopenvpn.git
fix a couple of typ0s in comments and strings
Signed-off-by: Antonio Quartulli
Acked-by: David Sommerseth
Message-Id: <20170819075209.28520-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15293.html
Signed-off-by: David Sommerseth
(cherry picked from commit 42d9f324f7362abfb9b51b24ef0fb7635b0194fc)
---
diff --git a/configure.ac b/configure.ac
index baeff41b0..db6718755 100644
--- a/configure.ac
+++ b/configure.ac
@@ -230,7 +230,7 @@ AC_ARG_ENABLE(
AC_ARG_ENABLE(
[werror],
- [AS_HELP_STRING([--enable-werror], [promote compiler warnings to errors, will cause builds to fail is the compiler issues warnings (debugging option) @<:@default=no@:>@])],
+ [AS_HELP_STRING([--enable-werror], [promote compiler warnings to errors, will cause builds to fail if the compiler issues warnings (debugging option) @<:@default=no@:>@])],
,
[enable_werror="no"]
)
diff --git a/src/openvpn/block_dns.h b/src/openvpn/block_dns.h
index c4b6693b0..c9a9d7088 100644
--- a/src/openvpn/block_dns.h
+++ b/src/openvpn/block_dns.h
@@ -26,7 +26,7 @@
#ifndef OPENVPN_BLOCK_DNS_H
#define OPENVPN_BLOCK_DNS_H
-/* Any value less than 5 should work fine. 3 is choosen without any real reason. */
+/* Any value less than 5 should work fine. 3 is chosen without any real reason. */
#define BLOCK_DNS_IFACE_METRIC 3
typedef void (*block_dns_msg_handler_t) (DWORD err, const char *msg);
diff --git a/src/openvpn/buffer.h b/src/openvpn/buffer.h
index 8bc442873..1ed56316c 100644
--- a/src/openvpn/buffer.h
+++ b/src/openvpn/buffer.h
@@ -91,7 +91,7 @@ struct gc_entry
};
/**
- * Gargabe collection entry for a specially allocated structure that needs
+ * Garbage collection entry for a specially allocated structure that needs
* a custom free function to be freed like struct addrinfo
*
*/
diff --git a/src/openvpn/options.h b/src/openvpn/options.h
index 67b9b94df..01a7b267c 100644
--- a/src/openvpn/options.h
+++ b/src/openvpn/options.h
@@ -181,7 +181,7 @@ struct options
/* enable forward compatibility for post-2.1 features */
bool forward_compatible;
- /* list of options that should be ignored even if unkown */
+ /* list of options that should be ignored even if unknown */
const char **ignore_unknown_option;
/* persist parms */