Module: kamailio
Branch: master
Commit: 17aec5c930e2681431c4da779cd24e3fc070b6eb
URL:
https://github.com/kamailio/kamailio/commit/17aec5c930e2681431c4da779cd24e3…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-02-08T14:05:32+01:00
siputis: typos
---
Modified: src/modules/siputils/chargingvector.c
Modified: src/modules/siputils/checks.c
Modified: src/modules/siputils/checks.h
Modified: src/modules/siputils/contact_ops.c
Modified: src/modules/siputils/doc/siputils_admin.xml
Modified: src/modules/siputils/siputils.c
---
Diff:
https://github.com/kamailio/kamailio/commit/17aec5c930e2681431c4da779cd24e3…
Patch:
https://github.com/kamailio/kamailio/commit/17aec5c930e2681431c4da779cd24e3…
---
diff --git a/src/modules/siputils/chargingvector.c
b/src/modules/siputils/chargingvector.c
index 0fed98b4c9..e736ba9688 100644
--- a/src/modules/siputils/chargingvector.c
+++ b/src/modules/siputils/chargingvector.c
@@ -410,7 +410,7 @@ int sip_handle_pcv(struct sip_msg *msg, char *flags, char *str2)
char * pcv_body = pcv_buf + 19;
char pcv_value[40];
- /* We use the IP adress of the interface that received the message as generated-at */
+ /* We use the IP address of the interface that received the message as generated-at */
if(msg->rcv.bind_address==NULL || msg->rcv.bind_address->address_str.s==NULL)
{
LM_ERR("No IP address for message. Failed to generate charging vector.\n");
diff --git a/src/modules/siputils/checks.c b/src/modules/siputils/checks.c
index c174662d8d..6aba2317db 100644
--- a/src/modules/siputils/checks.c
+++ b/src/modules/siputils/checks.c
@@ -575,7 +575,7 @@ int w_uri_param_rm(struct sip_msg* _msg, char* _param, char* _str2)
* Converts URI, if it is tel URI, to SIP URI. Returns 1, if
* conversion succeeded and 2 if no conversion was needed, i.e., URI was not
* tel URI. Returns -1, if conversion failed. Takes SIP URI hostpart from
- * second parameter and (if needed) writes the result to third paramater.
+ * second parameter and (if needed) writes the result to third parameter.
*/
int tel2sip(struct sip_msg* _msg, char* _uri, char* _hostpart, char* _res)
{
diff --git a/src/modules/siputils/checks.h b/src/modules/siputils/checks.h
index eaeaca3f81..e55739e66a 100644
--- a/src/modules/siputils/checks.h
+++ b/src/modules/siputils/checks.h
@@ -71,7 +71,7 @@ int ki_add_uri_param(struct sip_msg* _msg, str* param);
* Converts URI, if it is tel URI, to SIP URI. Returns 1, if
* conversion succeeded or if no conversion was needed, i.e., URI was not
* tel URI. Returns -1, if conversion failed. Takes SIP URI hostpart from
- * second parameter and (if needed) writes the result to third paramater.
+ * second parameter and (if needed) writes the result to third parameter.
*/
int tel2sip(struct sip_msg* _msg, char* _uri, char* _hostpart, char* _res);
diff --git a/src/modules/siputils/contact_ops.c b/src/modules/siputils/contact_ops.c
index 86b02382cc..322911f3c4 100644
--- a/src/modules/siputils/contact_ops.c
+++ b/src/modules/siputils/contact_ops.c
@@ -304,7 +304,7 @@ int encode2format(str uri, struct uri_format *format)
format->first = start - string + 4; /*sip: */
format->second = end - string;
/* --------------------------testing ------------------------------- */
- /* sip:gva@pass@10.0.0.1;;transport=udp>;expires=2 INCORECT BEHAVIOR OF
+ /* sip:gva@pass@10.0.0.1;;transport=udp>;expires=2 INCORRECT BEHAVIOR OF
* parse_uri,myfunction works good */
foo = parse_uri(start, end - start, &sipUri);
if(foo != 0) {
diff --git a/src/modules/siputils/doc/siputils_admin.xml
b/src/modules/siputils/doc/siputils_admin.xml
index d887c1b260..f3e9d32a55 100644
--- a/src/modules/siputils/doc/siputils_admin.xml
+++ b/src/modules/siputils/doc/siputils_admin.xml
@@ -1181,7 +1181,7 @@ if (is_supported("outbound")) { ... }
for replies true also in the case of additional SIP reply reception.
</para>
<para>
- Parameter mode is optional and can be an integer or a varaible holding
+ Parameter mode is optional and can be an integer or a variable holding
an integer. If not provided, the behaviour is like mode==0.
</para>
<para>
diff --git a/src/modules/siputils/siputils.c b/src/modules/siputils/siputils.c
index 139a334f79..099248555e 100644
--- a/src/modules/siputils/siputils.c
+++ b/src/modules/siputils/siputils.c
@@ -22,7 +22,7 @@
/*!
* \file
- * \brief Module with several utiltity functions related to SIP messages handling
+ * \brief Module with several utility functions related to SIP messages handling
* \ingroup siputils
* - Module \ref siputils
*/