Module: kamailio
Branch: master
Commit: 285a260687d4dce5636531a4ffffc43b0d37e883
URL: 
https://github.com/kamailio/kamailio/commit/285a260687d4dce5636531a4ffffc43b0d37e883

Author: ???????????????????? ???????????????????????????????? 
<git-...@aegee.org>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2023-04-25T22:11:28+02:00

jsonrpcs: typos

---

Modified: src/modules/jsonrpcs/doc/jsonrpcs_admin.xml
Modified: src/modules/jsonrpcs/jsonrpcs_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/285a260687d4dce5636531a4ffffc43b0d37e883.diff
Patch: 
https://github.com/kamailio/kamailio/commit/285a260687d4dce5636531a4ffffc43b0d37e883.patch

---

diff --git a/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml 
b/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml
index 9e558c4cfd..0e39676edd 100644
--- a/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml
+++ b/src/modules/jsonrpcs/doc/jsonrpcs_admin.xml
@@ -380,7 +380,7 @@ modparam("jsonrpcs", "dgram_user", "root")
        <section id="jsonrpcs.p.dgram_timeout">
                <title><varname>dgram_timeout</varname> (int)</title>
                <para>
-               The reply will expire after trying to sent it for socket_timeout
+               The reply will expire after trying to send it for socket_timeout
                milliseconds.
                </para>
                <para>
diff --git a/src/modules/jsonrpcs/jsonrpcs_mod.c 
b/src/modules/jsonrpcs/jsonrpcs_mod.c
index e369c62569..8ce008ccb5 100644
--- a/src/modules/jsonrpcs/jsonrpcs_mod.c
+++ b/src/modules/jsonrpcs/jsonrpcs_mod.c
@@ -298,7 +298,7 @@ static int jsonrpc_delayed_reply_ctx_init(jsonrpc_ctx_t* 
ctx)
 /** Implementation of rpc_fault function required by the management API.
  *
  * This function will be called whenever a management function
- * indicates that an error ocurred while it was processing the request. The
+ * indicates that an error occurred while it was processing the request. The
  * function takes the reply code and reason phrase as parameters, these will
  * be put in the body of the reply.
  *
@@ -340,7 +340,7 @@ static void jsonrpc_fault(jsonrpc_ctx_t* ctx, int code, 
char* fmt, ...)
  * This is the function that will be called whenever a management function
  * asks the management interface to send the reply to the client.
  * The SIP/HTTP reply sent to
- * the client will be always 200 OK, if an error ocurred on the server then it
+ * the client will be always 200 OK, if an error occurred on the server then it
  * will be indicated in the html document in body.
  *
  * @param ctx A pointer to the context structure of the jsonrpc request that
@@ -1191,7 +1191,7 @@ static void jsonrpc_delayed_ctx_close(struct 
rpc_delayed_ctx* dctx)
                                        (hdr->parsed<(void*)r_ctx->msg ||
                                        
hdr->parsed>=(void*)(r_ctx->msg+r_ctx->msg_shm_block_size))) {
                                /* header parsed filed doesn't point inside 
uas.request memory
-                                * chunck -> it was added by failure funcs.-> 
free it as pkg */
+                                * chunk -> it was added by failure funcs.-> 
free it as pkg */
                                DBG("removing hdr->parsed %d\n", hdr->type);
                                clean_hdr_field(hdr);
                                hdr->parsed = 0;

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to