From 594283c2f5a5dc239a1318f0e82d6b207490426f Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sat, 6 May 2023 07:17:51 +0200 Subject: [PATCH] hash: spelling --- src/util-hash.c | 4 ++-- src/util-hashlist.c | 2 +- src/util-thash.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util-hash.c b/src/util-hash.c index 4c1f2edf15..d94d46f943 100644 --- a/src/util-hash.c +++ b/src/util-hash.c @@ -23,7 +23,7 @@ * Chained hash table implementation * * The 'Free' pointer can be used to have the API free your - * hashed data. If it's NULL it's the callers responsebility + * hashed data. If it's NULL it's the callers responsibility */ #include "suricata-common.h" @@ -96,7 +96,7 @@ void HashTableFree(HashTable *ht) } } - /* free the arrray */ + /* free the array */ if (ht->array != NULL) SCFree(ht->array); diff --git a/src/util-hashlist.c b/src/util-hashlist.c index 5775e28f49..1a6df14fe3 100644 --- a/src/util-hashlist.c +++ b/src/util-hashlist.c @@ -23,7 +23,7 @@ * Chained hash table implementation * * The 'Free' pointer can be used to have the API free your - * hashed data. If it's NULL it's the callers responsebility + * hashed data. If it's NULL it's the callers responsibility */ #include "suricata-common.h" diff --git a/src/util-thash.c b/src/util-thash.c index 86cb990c66..6443990bc2 100644 --- a/src/util-thash.c +++ b/src/util-thash.c @@ -511,7 +511,7 @@ static THashData *THashDataGetNew(THashTableContext *ctx, void *data) } else { /* data has been recycled before it went into the spare queue */ - /* data is initialized (recylced) but *unlocked* */ + /* data is initialized (recycled) but *unlocked* */ } // setup the data -- 2.47.3