diff --git a/src/modules/xmlrpc/doc/xmlrpc_admin.xml b/src/modules/xmlrpc/doc/xmlrpc_admin.xml index 6c84dcb5108..8b527b90cec 100644 --- a/src/modules/xmlrpc/doc/xmlrpc_admin.xml +++ b/src/modules/xmlrpc/doc/xmlrpc_admin.xml @@ -136,7 +136,7 @@ modparam("xmlrpc", "double_lf_to_crlf", 1) <varname>mode</varname> (integer) 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). diff --git a/src/modules/xmlrpc/http.c b/src/modules/xmlrpc/http.c index 6cdc12571f2..8b3af2eb14a 100644 --- a/src/modules/xmlrpc/http.c +++ b/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) {