Changeset

428:bde804b01f28

Fix typos (thanks Link Mauve and codespell)
author Kim Alvefur <zash@zash.se>
date Mon, 24 Dec 2018 17:35:07 +0100
parents 427:fafb3639d4aa
children 434:4300839a28ca
files buildscripts/squish plugins/archive.lua plugins/jingle_ibb.lua plugins/tls.lua
diffstat 4 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/buildscripts/squish	Mon Dec 24 17:34:46 2018 +0100
+++ b/buildscripts/squish	Mon Dec 24 17:35:07 2018 +0100
@@ -2197,7 +2197,7 @@
   }\
 }\
 else {\
-  // Unreachable because SHELL is dependant on the others\
+  // Unreachable because SHELL is dependent on the others\
   throw 'Unknown runtime environment. Where are we?';\
 }\
 function globalEval(x) {\
@@ -2562,7 +2562,7 @@
 // @param ident      The name of the C function (note that C++ functions will be name-mangled - use extern \"C\")\
 // @param returnType The return type of the function, one of the JS types 'number', 'string' or 'array' (use 'number' for any C pointer, and\
 //                   'array' for JavaScript arrays and typed arrays; note that arrays are 8-bit).\
-// @param argTypes   An array of the types of arguments for the function (if there are no arguments, this can be ommitted). Types are as in returnType,\
+// @param argTypes   An array of the types of arguments for the function (if there are no arguments, this can be omitted). Types are as in returnType,\
 //                   except that 'array' is not possible (there is no way for us to know the length of the array)\
 // @param args       An array of the arguments to the function, as native JS values (as in returnType)\
 //                   Note that string arguments will be stored on the stack (the JS string will become a C string on the stack).\
--- a/plugins/archive.lua	Mon Dec 24 17:34:46 2018 +0100
+++ b/plugins/archive.lua	Mon Dec 24 17:35:07 2018 +0100
@@ -62,9 +62,9 @@
 				callback(false, reply:get_error())
 				return true;
 			end
-			local finnished = reply:get_child("fin", xmlns_mam)
-			if finnished then
-				local rset = rsm.get(finnished);
+			local finished = reply:get_child("fin", xmlns_mam)
+			if finished then
+				local rset = rsm.get(finished);
 				for k,v in pairs(rset or NULL) do results[k]=v; end
 			end
 			callback(results);
--- a/plugins/jingle_ibb.lua	Mon Dec 24 17:34:46 2018 +0100
+++ b/plugins/jingle_ibb.lua	Mon Dec 24 17:35:07 2018 +0100
@@ -28,7 +28,7 @@
 		return self:feed(stanza)
 	end
 	self.feeder = feeder;
-	print("Hooking incomming IQs");
+	print("Hooking incoming IQs");
 	local stream = self.stream;
 		stream:hook("iq/".. xmlns_ibb, feeder)
 	if stanza == "message" then
--- a/plugins/tls.lua	Mon Dec 24 17:34:46 2018 +0100
+++ b/plugins/tls.lua	Mon Dec 24 17:35:07 2018 +0100
@@ -10,7 +10,7 @@
 			stream:send(verse.stanza("starttls", { xmlns = xmlns_tls }));
 			return true;
 		elseif not stream.conn.starttls and not stream.secure then
-			stream:warn("SSL libary (LuaSec) not loaded, so TLS not available");
+			stream:warn("SSL library (LuaSec) not loaded, so TLS not available");
 		elseif not stream.secure then
 			stream:debug("Server doesn't offer TLS :(");
 		end