Дилян Палаузов 2 anni fa
parent
commit
285a260687

+ 1 - 1
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>

+ 3 - 3
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 @@ error:
 					(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;