Skip to content

Commit 8881bf3

Browse files
committed
misc: Fixing several typ0s all over the code base
Signed-off-by: David Sommerseth <[email protected]>
1 parent 2755c95 commit 8881bf3

File tree

12 files changed

+15
-15
lines changed

12 files changed

+15
-15
lines changed

docs/man/openvpn2.1.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -542,9 +542,9 @@ when certain OpenVPN events occur. OpenVPN 3 Linux is using D-Bus actively and
542542
it issues several signals as the state changes. It also means you can write
543543
your own front-end doing its own calls how you prefer while starting and
544544
managing the VPN session at the same time. This allows a much better
545-
flexibility and allows to adopt VPN session management into the execution flow
546-
which is needed. And the implementation can do its own security assessments on
547-
how it will tackle these scenarios.
545+
flexibility and allows one to adopt VPN session management into the execution
546+
flow which is needed. And the implementation can do its own security
547+
assessments on how it will tackle these scenarios.
548548

549549
There are at least three ways how to adopt to the OpenVPN 3 model:
550550

docs/man/openvpn3-admin-log-service.8.rst.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ OPTIONS
9191

9292
--timestamp BOOL
9393
Some of the log destinations supported by
94-
``openvpn3-service-logger`` may allow to log with or without
94+
``openvpn3-service-logger`` may allow one to log with or without
9595
timestamps. This option enables or disables timestamps attached
9696
to log events. Valid arguments: :code:`true`, :code:`false`.
9797

docs/man/openvpn3-service-netcfg.8.rst.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ Attribute: idle_exit
172172
""""""""""""""""""""
173173
This is the equivalent of the ``--idle-exit`` command line argument. This
174174
overrides the default automatic exit logic. The argument it takes is a
175-
positive integer of how many minutes it will be allow to run idle, not managing
176-
any OpenVPN network devices before it shuts down automatically.
175+
positive integer of how many minutes it will be allowed to run idle, not
176+
managing any OpenVPN network devices before it shuts down automatically.
177177

178178
Attribute: resolv_conf_file
179179
"""""""""""""""""""""""""""

src/client/core-client-netcfg.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class NetCfgTunBuilder : public T
132132
std::stringstream err;
133133
err << "Error adding IP address " << address
134134
<< "/" << std::to_string(prefix_length)
135-
<< " to " << (device ? device->GetDeviceName() : "[unkown]")
135+
<< " to " << (device ? device->GetDeviceName() : "[unknown]")
136136
<< ": " << std::string(e.what());
137137
signal->LogError(err.str());
138138
return false;

src/common/cmdargparser-exceptions.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class OptionException : public CommandArgBaseException
159159

160160

161161
/**
162-
* Retrieves the option name where this issue occured. This is always
162+
* Retrieves the option name where this issue occurred. This is always
163163
* available in this type of exceptions.
164164
*
165165
* @return Returns a const char * containing the name of the option

src/configmgr/configmgr.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,7 @@ class ConfigManagerObject : public DBusObject,
19401940
g_dbus_method_invocation_return_value(invoc, NULL);
19411941

19421942
std::stringstream msg;
1943-
msg << "Transfered ownership from " << cur_owner
1943+
msg << "Transferred ownership from " << cur_owner
19441944
<< " to " << new_uid
19451945
<< " on configuration " << cfgpath;
19461946
LogInfo(msg.str());

src/log/proxy-log.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ class LogServiceProxy : public DBusProxy
481481
if (!l)
482482
{
483483
THROW_DBUSEXCEPTION("LogServiceProxy",
484-
"No subsciber list received");
484+
"No subscriber list received");
485485
}
486486
GLibUtils::checkParams(__func__, l, "(a(ssss))", 1);
487487

src/netcfg/netcfg-device.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ class NetCfgDevice : public DBusObject,
288288
std::string gateway(g_variant_get_string(g_variant_get_child_value(params, 2), 0));
289289
bool ipv6 = g_variant_get_boolean(g_variant_get_child_value(params, 3));
290290

291-
signal.LogInfo(std::string("Adding IP Adress ") + ipaddr
291+
signal.LogInfo(std::string("Adding IP Address ") + ipaddr
292292
+ "/" + std::to_string(prefix)
293293
+ " gw " + gateway + " ipv6: " + (ipv6 ? "yes" : "no"));
294294

src/ovpn3cli/commands/init-config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ void selinux_restorecon(const setup_config &setupcfg)
560560
break;
561561

562562
default:
563-
std::cout << " - SELinux status: Unkown; skipping" << std::endl;
563+
std::cout << " - SELinux status: Unknown; skipping" << std::endl;
564564
return;
565565
}
566566

src/ovpn3cli/commands/version.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ int cmd_version(ParsedArgs::Ptr args)
111111

112112
if (failed)
113113
{
114-
std::cout << "** Some errors occured retrieving version information."
114+
std::cout << "** Some errors occurred retrieving version information."
115115
<< std::endl
116116
<< "** Ensure you run this command as the root or "
117117
<< OPENVPN_USERNAME << " user."

0 commit comments

Comments
 (0)