Browse code

htable: Fix typos in module documentation

Florian Floimair authored on 26/02/2018 21:12:51 • Daniel-Constantin Mierla committed on 28/02/2018 17:00:48
Showing 1 changed files
... ...
@@ -56,7 +56,7 @@ $sht(a=>$ci::srcip) = $si;
56 56
 	<para>
57 57
 		The next example shows a way to protect against dictionary attacks. If
58 58
 		someone fails to authenticate 3 times, it is forbidden for 15 minutes.
59
-		Authenticatiion against database is expensive as it does a select
59
+		Authentication against database is expensive as it does a select
60 60
 		on the <quote>subscriber</quote> table. By disabling the DB auth for 15 minutes,
61 61
 		resources on the server are saved and time to discover the password is increased
62 62
 		substantially. Additional alerting can be done by writing a message
... ...
@@ -896,7 +896,7 @@ sht_lock("ha=>test");
896 896
 		<function moreinfo="none">sht_unlock(htable=>key)</function>
897 897
 		</title>
898 898
 		<para>
899
-			Unlock the slot in htable corespoding to the key item. Note that
899
+			Unlock the slot in htable corresponding to the key item. Note that
900 900
 			the locking is re-entrant for the process, therefore the lock
901 901
 			and unlock should be done by the same process.
902 902
 		</para>
... ...
@@ -950,7 +950,7 @@ sht_iterator_start("i1", "h1");
950 950
 		</title>
951 951
 		<para>
952 952
 			Close the iterator identified by iname parameter and release
953
-			the hash table slot aquired by the iterator. The iname value
953
+			the hash table slot acquired by the iterator. The iname value
954 954
 			must be the same used for sht_iterator_start().
955 955
 		</para>
956 956
 		<para>
... ...
@@ -1163,7 +1163,7 @@ kamcmd htable.sets test x[0] abc
1163 1163
 # Set $sht(test=>x) as integer
1164 1164
 kamcmd htable.seti test x 123
1165 1165
 
1166
-# Set firsti entry in array key x $sht(test=>x[0]) as integer
1166
+# Set first entry in array key x $sht(test=>x[0]) as integer
1167 1167
 kamcmd htable.sets test x[0] 123
1168 1168
 ...
1169 1169
 </programlisting>