Browse Source

xmlrpc: typo typos

Дилян Палаузов 2 years ago
parent
commit
c35bdece43
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/modules/xmlrpc/doc/xmlrpc_admin.xml
  2. 1 1
      src/modules/xmlrpc/http.c

+ 1 - 1
src/modules/xmlrpc/doc/xmlrpc_admin.xml

@@ -136,7 +136,7 @@ modparam("xmlrpc", "double_lf_to_crlf", 1)
 	<title><varname>mode</varname> (integer)</title>
 	<para>
 		When set to 1, the xmlrpc module does not register to core the callback
-		functions for non-SIP messages. Useful when another module register
+		functions for non-SIP messages. Useful when another module registers
 		a callback for HTTP request, letting the admin decide when to
 		call the XMLRPC route (or functions).
 	</para>

+ 1 - 1
src/modules/xmlrpc/http.c

@@ -55,7 +55,7 @@
  * @param msg a pointer to the currently processed SIP message
  * @param via the Via header field text to be inserted
  * @param via_len size of the Via header field being inserted
- * @return 0 on succes, a negative number on error.
+ * @return 0 on success, a negative number on error.
  */
 static int insert_fake_via(sip_msg_t* msg, char* via, int via_len)
 {