From c1007b900dd99deb8b3610e9c4da823f2cd2cd02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD=20=D0=9F=D0=B0=D0=BB=D0=B0?= =?UTF-8?q?=D1=83=D0=B7=D0=BE=D0=B2?= Date: Sun, 2 Apr 2023 15:28:26 +0200 Subject: [PATCH] htable: typos --- src/modules/htable/doc/htable_admin.xml | 8 ++++---- src/modules/htable/ht_db.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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 autoexpire -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. @@ -793,7 +793,7 @@ sht_print(); 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'. This function can be used from ANY_ROUTE. @@ -1559,10 +1559,10 @@ kamcmd htable.seti test x[0] 123 ... -# 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 ... 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) {