summaryrefslogtreecommitdiffstats
path: root/contrib/zstd
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2017-06-27 10:44:19 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2017-06-27 10:44:19 +0300
commitbb5a9f8e451bc206e78c9d4d03eb4cbdbef260b3 (patch)
treeec38b50c99765caed67aaf23db308b17cc407d5f /contrib/zstd
parent146886df6d250a376b92d1bb615cb93679a7d6e8 (diff)
downloadrspamd-bb5a9f8e451bc206e78c9d4d03eb4cbdbef260b3.tar.gz
rspamd-bb5a9f8e451bc206e78c9d4d03eb4cbdbef260b3.zip
[Minor] Massive spelling correction
by a bot https://github.com/ka7/misspell_fixer
Diffstat (limited to 'contrib/zstd')
-rw-r--r--contrib/zstd/cover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/zstd/cover.c b/contrib/zstd/cover.c
index 1863c8f34..0f9622898 100644
--- a/contrib/zstd/cover.c
+++ b/contrib/zstd/cover.c
@@ -437,7 +437,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];
@@ -834,7 +834,7 @@ typedef struct COVER_tryParameters_data_s {
} COVER_tryParameters_data_t;
/**
- * Tries a set of parameters and upates the COVER_best_t with the results.
+ * Tries a set of parameters and updates the COVER_best_t with the results.
* This function is thread safe if zstd is compiled with multithreaded support.
* It takes its parameters as an *OWNING* opaque pointer to support threading.
*/