From e93a98bf6bd8384d0ae508f8fba6ba2aa9eeded9 Mon Sep 17 00:00:00 2001 From: Ovidiu Sas Date: Fri, 28 Nov 2014 13:48:45 -0500 Subject: [PATCH] mi_xmlrpc_ng: set default path to "RPC2" - closes #391 --- modules/mi_xmlrpc_ng/README | 2 +- modules/mi_xmlrpc_ng/doc/mi_xmlrpc_ng_admin.xml | 2 +- modules/mi_xmlrpc_ng/mi_xmlrpc_http.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/mi_xmlrpc_ng/README b/modules/mi_xmlrpc_ng/README index d9dec8f9524..5bde1373aca 100644 --- a/modules/mi_xmlrpc_ng/README +++ b/modules/mi_xmlrpc_ng/README @@ -72,7 +72,7 @@ Chapter 1. Admin Guide Specifies the root path for xmlrpc requests: http://[opensips_IP]:[opensips_httpd_port]/[mi_xmlrpc_ng_root] - The default value is "xmlrpc". + The default value is "RPC2". Example 1.1. Set mi_xmlrpc_ng_root parameter ... diff --git a/modules/mi_xmlrpc_ng/doc/mi_xmlrpc_ng_admin.xml b/modules/mi_xmlrpc_ng/doc/mi_xmlrpc_ng_admin.xml index 2476769e01a..1ff1e347c49 100644 --- a/modules/mi_xmlrpc_ng/doc/mi_xmlrpc_ng_admin.xml +++ b/modules/mi_xmlrpc_ng/doc/mi_xmlrpc_ng_admin.xml @@ -59,7 +59,7 @@ http://[opensips_IP]:[opensips_httpd_port]/[mi_xmlrpc_ng_root] - The default value is "xmlrpc". + The default value is "RPC2". Set <varname>mi_xmlrpc_ng_root</varname> parameter diff --git a/modules/mi_xmlrpc_ng/mi_xmlrpc_http.c b/modules/mi_xmlrpc_ng/mi_xmlrpc_http.c index 7904babcc51..02130dded3e 100644 --- a/modules/mi_xmlrpc_ng/mi_xmlrpc_http.c +++ b/modules/mi_xmlrpc_ng/mi_xmlrpc_http.c @@ -44,7 +44,7 @@ void mi_xmlrpc_http_answer_to_connection (void *cls, void *connection, str *buffer, str *page); static ssize_t mi_xmlrpc_http_flush_data(void *cls, uint64_t pos, char *buf, size_t max); -str http_root = str_init("xmlrpc"); +str http_root = str_init("RPC2"); httpd_api_t httpd_api;