Module: kamailio
Branch: master
Commit: c86b5d85a8aa86c1c59b5eed2ded87aee4fd1682
URL:
https://github.com/kamailio/kamailio/commit/c86b5d85a8aa86c1c59b5eed2ded87a…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-02-08T14:05:32+01:00
xmlrpc: typos
---
Modified: src/modules/xmlrpc/xmlrpc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c86b5d85a8aa86c1c59b5eed2ded87a…
Patch:
https://github.com/kamailio/kamailio/commit/c86b5d85a8aa86c1c59b5eed2ded87a…
---
diff --git a/src/modules/xmlrpc/xmlrpc.c b/src/modules/xmlrpc/xmlrpc.c
index 898099df30e..7cfb8567748 100644
--- a/src/modules/xmlrpc/xmlrpc.c
+++ b/src/modules/xmlrpc/xmlrpc.c
@@ -691,7 +691,7 @@ static void clean_xmlrpc_reply(struct xmlrpc_reply* reply)
/** Create XML-RPC reply that indicates an error to the caller.
*
* This function is used to build the XML-RPC reply body that indicates that
- * an error ocurred on the server. It is called when a management function in
+ * an error occurred on the server. It is called when a management function in
* SER reports an error. The reply will contain the reason code and reason
* phrase text provided by the management function that indicated the error.
*/
@@ -712,7 +712,7 @@ static int build_fault_reply(struct xmlrpc_reply* reply)
}
-/** Add a memory registion to the list of memory blocks that
+/** Add a memory registration to the list of memory blocks that
* need to be re-claimed later.
*
* @param type The type of the memory block (ordinary text or structure).
@@ -868,7 +868,7 @@ static int print_structures(struct xmlrpc_reply* reply,
* SER asks the management interface to send the reply to the client. The
* function will generate the XML-RPC document, put it in body of a SIP
* response and send the response 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 XML document in body.
*
* @param ctx A pointer to the context structure of the XML-RPC request that
@@ -916,7 +916,7 @@ static void set_fault(struct xmlrpc_reply* reply, int code, char* fmt,
...)
* SER.
*
* This function will be called whenever a management function in SER
- * 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.
*
@@ -1264,7 +1264,7 @@ static enum xmlrpc_val_type xml_get_type(xmlNodePtr value)
* This function receives a pointer to a parameter encoded in XML-RPC format
* and tries to convert the value of the parameter into integer. Only
* <i4>, <int>, <boolean>,
<dateTime.iso8601> XML-RPC
- * parameters can be converted to integer, attempts to conver other types will
+ * parameters can be converted to integer, attempts to convert other types will
* fail.
* @param val A pointer to an integer variable where the result will be
* stored.
@@ -1360,7 +1360,7 @@ static int get_int(int* val, struct xmlrpc_reply* reply,
* This function receives a pointer to a parameter encoded in XML-RPC format
* and tries to convert the value of the parameter into double. Only
* <i4>, <int>, <double> XML-RPC parameters can
be converted
- * to double, attempts to conver other types will fail.
+ * to double, attempts to convert other types will fail.
* @param val A pointer to an integer variable where the result will be
* stored.
* @param reply A pointer to XML-RPC reply being constructed (used to indicate
@@ -1487,7 +1487,7 @@ static int get_string(char** val, struct xmlrpc_reply* reply,
return -1;
}
type=xml_get_type(dbl);
- LM_DBG("xmrpc parameter type: %d\n", type);
+ LM_DBG("xmlrpc parameter type: %d\n", type);
switch(type){
case XML_T_STR:
case XML_T_TXT:
@@ -2235,7 +2235,7 @@ static void rpc_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("DBG:free_faked_req: removing hdr->parsed %d\n",
hdr->type);
clean_hdr_field(hdr);