From 6c4f9b049e784fc9aff65bfcef6f366b78fff48e 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: Sat, 4 Feb 2023 15:20:34 +0200 Subject: [PATCH] usrloc: typos --- src/modules/usrloc/doc/usrloc_admin.xml | 14 +++++++------- src/modules/usrloc/doc/usrloc_devel.xml | 2 +- src/modules/usrloc/udomain.c | 2 +- src/modules/usrloc/urecord.c | 2 +- src/modules/usrloc/urecord.h | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/modules/usrloc/doc/usrloc_admin.xml b/src/modules/usrloc/doc/usrloc_admin.xml index 2d3d8a17d42..ca2295ac67a 100644 --- a/src/modules/usrloc/doc/usrloc_admin.xml +++ b/src/modules/usrloc/doc/usrloc_admin.xml @@ -700,7 +700,7 @@ modparam("usrloc", "db_url", "&exampledb;") 4 - This uses database to load records at startup but uses only memory during the runtime. Records are not written back at all, not even at shutdown. Useful for scenarios when registrations are - replicated to a node that does the storage in database during + replicated to a node that does the storage in a database during runtime. @@ -730,8 +730,8 @@ modparam("usrloc", "db_mode", 2)
<varname>db_load</varname> (int) - Determine if the usrloc module should load contacts from the database storage during module initialization - A value of 0 disable the loading from the database, this parameter is ignored if db_mode 4 is set + Determine if the usrloc module should load contacts from the database storage during module initialization. + A value of 0 disables the loading from the database, this parameter is ignored if db_mode 4 is set. @@ -1323,7 +1323,7 @@ modparam("usrloc", "version_table", 0) Note: Keepalives will be sent to the IP and port using the transport - defined in the “received” column. If not set, then keepalives will be sent + defined in the received column. If not set, then keepalives will be sent to the AOR using UDP as a default transport. If available, the TCP connection will be re-used for WS, TCP and TLS. @@ -1755,7 +1755,7 @@ modparam("usrloc", "db_clean_tcp", 1) users Number of AOR existing in the USRLOC memory cache for that domain - - can not be reset; this statistic will be register for each + - can not be reset; this statistic will be registered for each used domain (Ex: location).
@@ -1763,7 +1763,7 @@ modparam("usrloc", "db_clean_tcp", 1) contacts Number of contacts existing in the USRLOC memory cache for that - domain - can not be reset; this statistic will be register for + domain - can not be reset; this statistic will be registered for each used domain (Ex: location). @@ -1771,7 +1771,7 @@ modparam("usrloc", "db_clean_tcp", 1) expires Total number of expired contacts for that domain - can be reset; - this statistic will be register for each used domain + this statistic will be registered for each used domain (Ex: location). diff --git a/src/modules/usrloc/doc/usrloc_devel.xml b/src/modules/usrloc/doc/usrloc_devel.xml index 856429f87a2..623daed8dc0 100644 --- a/src/modules/usrloc/doc/usrloc_devel.xml +++ b/src/modules/usrloc/doc/usrloc_devel.xml @@ -440,7 +440,7 @@ The function register with USRLOC a callback function to be called - when some event occures inside USRLOC. + when some event occurs inside USRLOC. Meaning of the parameters is as follows: diff --git a/src/modules/usrloc/udomain.c b/src/modules/usrloc/udomain.c index 6fc0c187dfb..f64df09daab 100644 --- a/src/modules/usrloc/udomain.c +++ b/src/modules/usrloc/udomain.c @@ -1295,7 +1295,7 @@ void mem_timer_udomain(udomain_t* _d, int istart, int istep) /*! * \brief Get lock for a domain * \param _d domain - * \param _aor adress of record, used as hash source for the lock slot + * \param _aor address of record, used as hash source for the lock slot */ void lock_udomain(udomain_t* _d, str* _aor) { diff --git a/src/modules/usrloc/urecord.c b/src/modules/usrloc/urecord.c index c06c5c4718d..aa43ac94b37 100644 --- a/src/modules/usrloc/urecord.c +++ b/src/modules/usrloc/urecord.c @@ -548,7 +548,7 @@ int db_delete_urecord_by_ruid(str *_table, str *_ruid) * \warning Failing to calls this function after get_urecord will * result in a memory leak when the DB_ONLY mode is used. When * the records is later deleted, e.g. with delete_urecord, then - * its not necessary, as this function already releases the record. + * it is not necessary, as this function already releases the record. * \param _r released record */ void release_urecord(urecord_t* _r) diff --git a/src/modules/usrloc/urecord.h b/src/modules/usrloc/urecord.h index 5ac7c9ae621..38e9cfa5114 100644 --- a/src/modules/usrloc/urecord.h +++ b/src/modules/usrloc/urecord.h @@ -135,7 +135,7 @@ int delete_urecord_by_ruid(udomain_t* _d, str *_ruid); * \warning Failing to calls this function after get_urecord will * result in a memory leak when the DB_ONLY mode is used. When * the records is later deleted, e.g. with delete_urecord, then - * its not necessary, as this function already releases the record. + * it is not necessary, as this function already releases the record. * \param _r released record */ void release_urecord(urecord_t* _r);