Module: kamailio
Branch: master
Commit: 4c8276fcf268a690ea671c4ddeaad1f89e293565
URL:
https://github.com/kamailio/kamailio/commit/4c8276fcf268a690ea671c4ddeaad1f…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-04-25T22:11:28+02:00
kex: typos
---
Modified: src/modules/kex/core_stats.c
Modified: src/modules/kex/doc/kex_admin.xml
Modified: src/modules/kex/kex_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4c8276fcf268a690ea671c4ddeaad1f…
Patch:
https://github.com/kamailio/kamailio/commit/4c8276fcf268a690ea671c4ddeaad1f…
---
diff --git a/src/modules/kex/core_stats.c b/src/modules/kex/core_stats.c
index 565ce4e77d7..816ae39a90f 100644
--- a/src/modules/kex/core_stats.c
+++ b/src/modules/kex/core_stats.c
@@ -409,7 +409,7 @@ struct rpc_list_params {
/**
- * Satistic getter RPC callback.
+ * Statistic getter RPC callback.
*/
static void rpc_get_grp_vars_cbk(void* p, str* g, str* n, counter_handle_t h)
{
@@ -644,7 +644,7 @@ static void rpc_stats_fetchn_statistics(rpc_t* rpc, void* ctx)
}
/**
- * Satistic reset/clear-er RPC callback..
+ * Statistic reset/clear-er RPC callback..
*/
static void rpc_reset_or_clear_grp_vars_cbk(void* p, str* g, str* n,
counter_handle_t h)
diff --git a/src/modules/kex/doc/kex_admin.xml b/src/modules/kex/doc/kex_admin.xml
index 34484bc4ec8..5c597e97047 100644
--- a/src/modules/kex/doc/kex_admin.xml
+++ b/src/modules/kex/doc/kex_admin.xml
@@ -88,7 +88,7 @@ setsflag("$var(flag)");
<section id="kex.f.issflagset">
<title><function
moreinfo="none">issflagset(flag)</function></title>
<para>
- Return true of the script flag is set.
+ Return true if the script flag is set.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
@@ -179,7 +179,7 @@ setbflag("$var(flag)", "1");
<section id="kex.f.isbflagset">
<title><function moreinfo="none">isbflagset(flag [,
branch])</function></title>
<para>
- Return true of the branch flag is set.
+ Return true if the branch flag is set.
</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
@@ -762,7 +762,7 @@ resetdebug();
</title>
<para>Print the list of available internal statistics.</para>
<para>NOTE: the result is an array of strings that have the list of
- statistics formated like "name = value", being propagated over the time
+ statistics formatted like "name = value", being propagated over the time
from the MI variant. Use "stats.fetch" or "stats.fetchn"commands to
have
a more JSON-friendly output.</para>
<para>Parameters: <emphasis>statsid</emphasis> - which statistics to
@@ -785,7 +785,7 @@ resetdebug();
<para>Print the list of available internal statistics with a more
json friendly output. Each printed statistic is a field in the output
structure: {"statsgroup.statsname" : "statsvalue"}. The value is
- represented as string to accomodate large numbers.</para>
+ represented as string to accommodate large numbers.</para>
<para>Parameters: <emphasis>statsid</emphasis> - which statistics to
be printed. If set to 'all' then all statistics are printed; if
set to 'statsgroup:' then all statistics in the group are printed;
diff --git a/src/modules/kex/kex_mod.c b/src/modules/kex/kex_mod.c
index e46e85b5cf4..1927c7343d3 100644
--- a/src/modules/kex/kex_mod.c
+++ b/src/modules/kex/kex_mod.c
@@ -141,7 +141,7 @@ static int mod_init(void)
register_pkg_proc_stats();
pkg_proc_stats_init_rpc();
- /* per module memmory debugging RPC command */
+ /* per module memory debugging RPC command */
mod_stats_init_rpc();
return 0;