aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--contrib/torch/nn/IndexLinear.lua2
-rw-r--r--contrib/torch/torch7/lib/luaT/luaT.c2
-rw-r--r--contrib/torch/torch7/test/test.lua2
-rw-r--r--contrib/zstd/cover.c2
-rw-r--r--contrib/zstd/zstd.h2
-rw-r--r--src/libutil/map.c2
-rw-r--r--src/plugins/lua/hfilter.lua2
8 files changed, 8 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 25bbe8d1e..4a2e8e1cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -129,7 +129,7 @@
* [Fix] DKIM sign tools: edge-cases around use_esld
* [Fix] Do not cache SPF records with macros
* [Fix] Do not overwrite score when setting pre-action
- * [Fix] Fix comparision logic
+ * [Fix] Fix comparison logic
* [Fix] Fix DKIM base64 folding for milter flagged messages
* [Fix] Fix emails module configuration
* [Fix] Fix folding for arc headers when milter interface is used
diff --git a/contrib/torch/nn/IndexLinear.lua b/contrib/torch/nn/IndexLinear.lua
index 2ddbcbdb9..928e5d3f2 100644
--- a/contrib/torch/nn/IndexLinear.lua
+++ b/contrib/torch/nn/IndexLinear.lua
@@ -262,7 +262,7 @@ function IndexLinear:accGradParameters(input, gradOutput, scale)
)
-- Increment the running counter to create a new buffer
- -- if we don't flush them in zerogradParamters
+ -- if we don't flush them in zerogradParameters
self.running.counter = self.running.counter + 1
end
diff --git a/contrib/torch/torch7/lib/luaT/luaT.c b/contrib/torch/torch7/lib/luaT/luaT.c
index 2dc307ac7..d87f5d54c 100644
--- a/contrib/torch/torch7/lib/luaT/luaT.c
+++ b/contrib/torch/torch7/lib/luaT/luaT.c
@@ -580,7 +580,7 @@ int luaT_fullparentname(const char *tname, char *parent_name)
return tname[idx] == '.';
}
-/* alias for ensuring backwards compatibilty;
+/* alias for ensuring backwards compatibility;
* use of luaT_fullparentname is preferred.
*/
int luaT_classmodulename(const char *tname, char *parent_name)
diff --git a/contrib/torch/torch7/test/test.lua b/contrib/torch/torch7/test/test.lua
index 2abf01615..6c5dc71b0 100644
--- a/contrib/torch/torch7/test/test.lua
+++ b/contrib/torch/torch7/test/test.lua
@@ -19,7 +19,7 @@ local function maxdiff(x,y)
end
end
--- workarounds for non-existant functions
+-- workarounds for non-existent functions
function torch.HalfTensor:__sub(other)
return (self:real() - other:real()):half()
end
diff --git a/contrib/zstd/cover.c b/contrib/zstd/cover.c
index f6500b3d8..ec7271dba 100644
--- a/contrib/zstd/cover.c
+++ b/contrib/zstd/cover.c
@@ -439,7 +439,7 @@ static COVER_segment_t COVER_selectSegment(const COVER_ctx_t *ctx, U32 *freqs,
U32 *delDmerOcc = COVER_map_at(activeDmers, delDmer);
activeSegment.begin += 1;
*delDmerOcc -= 1;
- /* If this is the last occurence of the dmer, subtract its score */
+ /* If this is the last occurrence of the dmer, subtract its score */
if (*delDmerOcc == 0) {
COVER_map_remove(activeDmers, delDmer);
activeSegment.score -= freqs[delDmer];
diff --git a/contrib/zstd/zstd.h b/contrib/zstd/zstd.h
index ddb284299..158d75afb 100644
--- a/contrib/zstd/zstd.h
+++ b/contrib/zstd/zstd.h
@@ -1071,7 +1071,7 @@ ZSTDLIB_API size_t ZSTD_CCtx_loadDictionary_advanced(ZSTD_CCtx* cctx, const void
/*! ZSTD_CCtx_refCDict() :
* Reference a prepared dictionary, to be used for all next compression jobs.
* Note that compression parameters are enforced from within CDict,
- * and supercede any compression parameter previously set within CCtx.
+ * and supersede any compression parameter previously set within CCtx.
* The dictionary will remain valid for future compression jobs using same CCtx.
* @result : 0, or an error code (which can be tested with ZSTD_isError()).
* Special : adding a NULL CDict means "return to no-dictionary mode".
diff --git a/src/libutil/map.c b/src/libutil/map.c
index fdaecc3ae..208b62dc0 100644
--- a/src/libutil/map.c
+++ b/src/libutil/map.c
@@ -344,7 +344,7 @@ rspamd_map_cache_cb (gint fd, short what, gpointer ud)
/* We have another update, so this cache element is obviously expired */
/* Important: we do not set cache availability to zero here */
MAP_RELEASE (cache_cbd->shm, "rspamd_http_map_cached_cbdata");
- msg_debug_map ("cached data is now expired (gen missmatch) for %s", map->name);
+ msg_debug_map ("cached data is now expired (gen mismatch) for %s", map->name);
event_del (&cache_cbd->timeout);
g_free (cache_cbd);
}
diff --git a/src/plugins/lua/hfilter.lua b/src/plugins/lua/hfilter.lua
index a564c1c44..6f3322ecf 100644
--- a/src/plugins/lua/hfilter.lua
+++ b/src/plugins/lua/hfilter.lua
@@ -16,7 +16,7 @@ limitations under the License.
]]--
--- Weight for checks_hellohost and checks_hello: 5 - very hard, 4 - hard, 3 - meduim, 2 - low, 1 - very low.
+-- Weight for checks_hellohost and checks_hello: 5 - very hard, 4 - hard, 3 - medium, 2 - low, 1 - very low.
-- From HFILTER_HELO_* and HFILTER_HOSTNAME_* symbols the maximum weight is selected in case of their actuating.
if confighelp then