[Openvpn-devel] Fix typo in error message: "optione" -> "option"

Message ID 20180102140938.16467-1-bertrandbc@gmail.com
State Accepted
Headers show
Series [Openvpn-devel] Fix typo in error message: "optione" -> "option" | expand

Commit Message

bertrandbc@gmail.com Jan. 2, 2018, 3:09 a.m. UTC
From: Bertrand Bonnefoy-Claudet <bertrandbc@gmail.com>

---
 src/openvpn/options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Gert Doering Jan. 9, 2018, 5 a.m. UTC | #1
ACK, thanks.  Funny (and long standing) bug.

Your patch has been applied to the master and release/2.4 branch.

commit f447bc63c3928fd9b71e3df3768900a328f4f41a (master)
commit 22bffd6816d916bfa89256e695987e7e29231fb8 (release/2.4)
Author: Bertrand Bonnefoy-Claudet
Date:   Tue Jan 2 15:09:38 2018 +0100

     Fix typo in error message: optione -> option

     Acked-by: Gert Doering <gert@greenie.muc.de>
     Message-Id: <20180102140938.16467-1-bertrandbc@gmail.com>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg16131.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Patch

diff --git a/src/openvpn/options.c b/src/openvpn/options.c
index 7be5f383..b240e2ef 100644
--- a/src/openvpn/options.c
+++ b/src/openvpn/options.c
@@ -4523,7 +4523,7 @@  read_config_file(struct options *options,
                 ++line_num;
                 if (strlen(line) == OPTION_LINE_SIZE)
                 {
-                    msg(msglevel, "In %s:%d: Maximum optione line length (%d) exceeded, line starts with %s",
+                    msg(msglevel, "In %s:%d: Maximum option line length (%d) exceeded, line starts with %s",
                         file, line_num, OPTION_LINE_SIZE, line);
                 }