]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
hash: spelling
authorVictor Julien <vjulien@oisf.net>
Sat, 6 May 2023 05:17:51 +0000 (07:17 +0200)
committerVictor Julien <vjulien@oisf.net>
Sat, 6 May 2023 15:38:55 +0000 (17:38 +0200)
src/util-hash.c
src/util-hashlist.c
src/util-thash.c

index 4c1f2edf159791ab33a950e2654957718fc48cb7..d94d46f943fb6b43b27384fac6e8e5c5159de5c7 100644 (file)
@@ -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);
 
index 5775e28f4921adb3cf4cd7e9ca05cb524f6f6c30..1a6df14fe348a5967032df450998893379fcc517 100644 (file)
@@ -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"
index 86cb990c6669024b404f2f76af0f7d1ebb31ebb0..6443990bc219f860cf5ac1dd3e6d9065b9a0a274 100644 (file)
@@ -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