--- a/net/server_select.lua Fri May 03 18:14:14 2019 +0200
+++ b/net/server_select.lua Fri May 03 20:54:24 2019 +0200
@@ -124,7 +124,7 @@
_server = { } -- key = port, value = table; list of listening servers
_readlist = { } -- array with sockets to read from
-_sendlist = { } -- arrary with sockets to write to
+_sendlist = { } -- array with sockets to write to
_timerlist = { } -- array of timer functions
_socketlist = { } -- key = socket, value = wrapped socket (handlers)
_readtimes = { } -- key = handler, value = timestamp of last data reading
@@ -150,7 +150,7 @@
_sendtimeout = 60000 -- allowed send idle time in secs
_readtimeout = 14 * 60 -- allowed read idle time in secs
-local is_windows = package.config:sub(1,1) == "\\" -- check the directory separator, to detemine whether this is Windows
+local is_windows = package.config:sub(1,1) == "\\" -- check the directory separator, to determine whether this is Windows
_maxfd = (is_windows and math.huge) or luasocket._SETSIZE or 1024 -- max fd number, limit to 1024 by default to prevent glibc buffer overflow, but not on Windows
_maxselectlen = luasocket._SETSIZE or 1024 -- But this still applies on Windows
--- a/plugins/mod_blocklist.lua Fri May 03 18:14:14 2019 +0200
+++ b/plugins/mod_blocklist.lua Fri May 03 20:54:24 2019 +0200
@@ -159,7 +159,7 @@
local blocklist = cache[username] or get_blocklist(username);
local new_blocklist = {
- -- We set the [false] key to someting as a signal not to migrate privacy lists
+ -- We set the [false] key to something as a signal not to migrate privacy lists
[false] = blocklist[false] or { created = now; };
};
if type(blocklist[false]) == "table" then
--- a/plugins/mod_saslauth.lua Fri May 03 18:14:14 2019 +0200
+++ b/plugins/mod_saslauth.lua Fri May 03 20:54:24 2019 +0200
@@ -248,7 +248,7 @@
local sasl_handler = usermanager_get_sasl_handler(module.host, origin)
origin.sasl_handler = sasl_handler;
if origin.encrypted then
- -- check wether LuaSec has the nifty binding to the function needed for tls-unique
+ -- check whether LuaSec has the nifty binding to the function needed for tls-unique
-- FIXME: would be nice to have this check only once and not for every socket
if sasl_handler.add_cb_handler then
local socket = origin.conn:socket();
--- a/spec/util_throttle_spec.lua Fri May 03 18:14:14 2019 +0200
+++ b/spec/util_throttle_spec.lua Fri May 03 20:54:24 2019 +0200
@@ -88,7 +88,7 @@
later(0.1);
a:update();
end
- assert(math.abs(a.balance - 1) < 0.0001); -- incremental updates cause rouding errors
+ assert(math.abs(a.balance - 1) < 0.0001); -- incremental updates cause rounding errors
end);
end);
--- a/util/datamanager.lua Fri May 03 18:14:14 2019 +0200
+++ b/util/datamanager.lua Fri May 03 20:54:24 2019 +0200
@@ -24,7 +24,7 @@
local envloadfile = require"util.envload".envloadfile;
local serialize = require "util.serialization".serialize;
local lfs = require "lfs";
--- Extract directory seperator from package.config (an undocumented string that comes with lua)
+-- Extract directory separator from package.config (an undocumented string that comes with lua)
local path_separator = assert ( package.config:match ( "^([^\n]+)" ) , "package.config not in standard form" )
local prosody = prosody;