Module: kamailio
Branch: master
Commit: fab551a87b40b35ca99845df52071980458cdd51
URL:
https://github.com/kamailio/kamailio/commit/fab551a87b40b35ca99845df5207198…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2017-10-27T10:20:25+03:00
sl: fix typos and format in documentation and code
---
Modified: src/modules/sl/doc/sl.xml
Modified: src/modules/sl/sl.c
Modified: src/modules/sl/sl_funcs.c
---
Diff:
https://github.com/kamailio/kamailio/commit/fab551a87b40b35ca99845df5207198…
Patch:
https://github.com/kamailio/kamailio/commit/fab551a87b40b35ca99845df5207198…
---
diff --git a/src/modules/sl/doc/sl.xml b/src/modules/sl/doc/sl.xml
index c5f96e82be..1bd05b7c0b 100644
--- a/src/modules/sl/doc/sl.xml
+++ b/src/modules/sl/doc/sl.xml
@@ -49,7 +49,7 @@
</para>
<para>
To speed up the filtering process, the module uses a timeout
- mechanism. When a reply is sent, a timer us set. As long as the
+ mechanism. When a reply is sent, a timer is set. As long as the
timer is valid, the incoming ACK requests will be checked using TO
tag value. Once the timer expires, all the ACK messages are let
through - a long time passed till it sent a reply, so it does not
@@ -63,7 +63,7 @@
re-INVITE) and the server want to reply to it. Then, it will keep the
current to-tag, which will be mirrored in ACK. SER will not see
its signature and forward the ACK downstream. Caused harm is not
- bad--just a useless ACK is forwarded.
+ bad, just a useless ACK is forwarded.
</para>
</section>
diff --git a/src/modules/sl/sl.c b/src/modules/sl/sl.c
index ab50db3649..c523e8913b 100644
--- a/src/modules/sl/sl.c
+++ b/src/modules/sl/sl.c
@@ -194,7 +194,7 @@ static void mod_destroy()
/**
* @brief Small wrapper around sl_send_reply
*
- * Warapper around sl_send_rply() which accepts parameters that include
+ * Wrapper around sl_send_reply() which accepts parameters that include
* config variables
*
*/
diff --git a/src/modules/sl/sl_funcs.c b/src/modules/sl/sl_funcs.c
index 6dbd754539..dbc5105d2c 100644
--- a/src/modules/sl/sl_funcs.c
+++ b/src/modules/sl/sl_funcs.c
@@ -384,7 +384,7 @@ int sl_filter_ACK(struct sip_msg *msg, unsigned int flags, void *bar
)
/*check the timeout value*/
if ( *(sl_timeout)<= get_ticks_raw() )
{
- LM_DBG("to late to be a local ACK!\n");
+ LM_DBG("too late to be a local ACK!\n");
goto pass_it;
}