Skip to content

Commit

Permalink
htable: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dilyanpalauzov authored and miconda committed Apr 10, 2023
1 parent 6a4ab71 commit c1007b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/modules/htable/doc/htable_admin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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=&gt;itname) = $null'.
This API function is equivalent to '$sht(htname=&gt;itname) = $null'.
</para>
<para>
This function can be used from ANY_ROUTE.
Expand Down Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/modules/htable/ht_db.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit c1007b9

Please sign in to comment.