Module: kamailio
Branch: master
Commit: e07960d74570aa9a94075e83b5bf4fc9cf418864
URL:
https://github.com/kamailio/kamailio/commit/e07960d74570aa9a94075e83b5bf4fc…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-02-08T14:05:32+01:00
xhttp_rpc: typos
---
Modified: src/modules/xhttp_rpc/xhttp_rpc.c
Modified: src/modules/xhttp_rpc/xhttp_rpc_fnc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e07960d74570aa9a94075e83b5bf4fc…
Patch:
https://github.com/kamailio/kamailio/commit/e07960d74570aa9a94075e83b5bf4fc…
---
diff --git a/src/modules/xhttp_rpc/xhttp_rpc.c b/src/modules/xhttp_rpc/xhttp_rpc.c
index 8db886dbdc..d2c72bbf87 100644
--- a/src/modules/xhttp_rpc/xhttp_rpc.c
+++ b/src/modules/xhttp_rpc/xhttp_rpc.c
@@ -115,7 +115,7 @@ struct module_exports exports= {
/** 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.
*
@@ -149,7 +149,7 @@ static void free_data_struct(struct rpc_data_struct *rpc_d)
struct rpc_data_struct *ds;
if (!rpc_d) {
- LM_ERR("Atempting to free NULL rpc_data_struct\n");
+ LM_ERR("Attempting to free NULL rpc_data_struct\n");
return;
}
while (rpc_d) {
@@ -213,7 +213,7 @@ static int init_xhttp_rpc_reply(rpc_ctx_t *ctx)
* 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 xhttp_rpc request that
diff --git a/src/modules/xhttp_rpc/xhttp_rpc_fnc.c
b/src/modules/xhttp_rpc/xhttp_rpc_fnc.c
index 71e28aee5b..a468d4770a 100644
--- a/src/modules/xhttp_rpc/xhttp_rpc_fnc.c
+++ b/src/modules/xhttp_rpc/xhttp_rpc_fnc.c
@@ -186,7 +186,7 @@ static const str XHTTP_RPC_Response_Foot = str_init(\
"\n</center>\n<div align=\"center\" class=\"foot\"
style=\"margin:20px auto\">"\
"<span style='margin-left:5px;'></span>"\
"<a href=\"http://sip-router.org\">SIP Router web
site</a> .:. "\
- "<a href=\"http://www.kamailio.org\">Kamailio web
site</a><br/>"\
+ "<a href=\"https://www.kamailio.org\">Kamailio web
site</a><br/>"\
"Copyright © 2011-2013 <a
href=\"http://www.voipembedded.com/\">VoIP Embedded</a>"\
". All rights
reserved."\
"</div></body></html>");
@@ -375,7 +375,7 @@ int xhttp_rpc_build_header(rpc_ctx_t *ctx)
name.s =
(char*)rpc_sarray[xhttp_rpc_mod_cmds[mod].rpc_e_index+cmd]->r.name;
name.len = strlen(name.s);
- /* Print comand name */
+ /* Print command name */
XHTTP_RPC_COPY_4(p,XHTTP_RPC_Response_Menu_Cmd_Table_1,
XHTTP_RPC_Response_Menu_Cmd_tr_1,
XHTTP_RPC_Response_Menu_Cmd_td_1a,
@@ -414,7 +414,7 @@ int xhttp_rpc_build_header(rpc_ctx_t *ctx)
name.s =
(char*)rpc_sarray[xhttp_rpc_mod_cmds[mod].rpc_e_index]->r.name;
name.len = strlen(name.s);
- /* Build the list of comands for the selected module */
+ /* Build the list of commands for the selected module */
XHTTP_RPC_COPY_4(p,XHTTP_RPC_Response_Menu_Cmd_Table_1,
XHTTP_RPC_Response_Menu_Cmd_tr_1,
XHTTP_RPC_Response_Menu_Cmd_td_1a,