Module: kamailio
Branch: master
Commit: c1007b900dd99deb8b3610e9c4da823f2cd2cd02
URL:
https://github.com/kamailio/kamailio/commit/c1007b900dd99deb8b3610e9c4da823…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-04-10T08:05:56+02:00
htable: typos
---
Modified: src/modules/htable/doc/htable_admin.xml
Modified: src/modules/htable/ht_db.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c1007b900dd99deb8b3610e9c4da823…
Patch:
https://github.com/kamailio/kamailio/commit/c1007b900dd99deb8b3610e9c4da823…
---
diff --git a/src/modules/htable/doc/htable_admin.xml
b/src/modules/htable/doc/htable_admin.xml
index 0493f422567..84f20e7b328 100644
--- a/src/modules/htable/doc/htable_admin.xml
+++ b/src/modules/htable/doc/htable_admin.xml
@@ -357,7 +357,7 @@ $ kamcmd htable.dump htable
<listitem>
<para>
<emphasis>autoexpire</emphasis> -time in seconds to delete an item
- from a hash table if no update was done to it. If is missing or set
+ from a hash table if no update was done to it. If it is missing or set
to 0, the items won't expire.
</para>
</listitem>
@@ -793,7 +793,7 @@ sht_print();
</title>
<para>
Delete the item with the name 'itname' from hash table 'htname'.
- This API function equivaluent to '$sht(htname=>itname) = $null'.
+ This API function is equivalent to '$sht(htname=>itname) = $null'.
</para>
<para>
This function can be used from ANY_ROUTE.
@@ -1559,10 +1559,10 @@ kamcmd htable.seti test x[0] 123
</para>
<programlisting format="linespecific">
...
-# set expire for $sht(test=>x) to 120 secs
+# set expire for $sht(test=>x) to 120 secs
kamctl rpc htable.setex test x 120
-# set expire for $sht(test=>10) to 120 secs
+# set expire for $sht(test=>10) to 120 secs
kamctl rpc htable.setex test s:10 120
...
</programlisting>
diff --git a/src/modules/htable/ht_db.c b/src/modules/htable/ht_db.c
index 1f9dac458c6..db2a52ce8b1 100644
--- a/src/modules/htable/ht_db.c
+++ b/src/modules/htable/ht_db.c
@@ -648,7 +648,7 @@ int ht_db_save_table(ht_t *ht, str *dbtable)
/**
- * delete databse table
+ * delete database table
*/
int ht_db_delete_records(str *dbtable)
{