Module: kamailio
Branch: master
Commit: ff4e81eb977fbf6394cc53b4055a8b62efc5f4e4
URL:
https://github.com/kamailio/kamailio/commit/ff4e81eb977fbf6394cc53b4055a8b6…
Author: Corey Farrell <git(a)cfware.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-06-22T22:09:56+02:00
xhttp_rpc: removed unused static constants
---
Modified: src/modules/xhttp_rpc/xhttp_rpc_fnc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ff4e81eb977fbf6394cc53b4055a8b6…
Patch:
https://github.com/kamailio/kamailio/commit/ff4e81eb977fbf6394cc53b4055a8b6…
---
diff --git a/src/modules/xhttp_rpc/xhttp_rpc_fnc.c
b/src/modules/xhttp_rpc/xhttp_rpc_fnc.c
index f9fa7d9343..835a14180d 100644
--- a/src/modules/xhttp_rpc/xhttp_rpc_fnc.c
+++ b/src/modules/xhttp_rpc/xhttp_rpc_fnc.c
@@ -171,9 +171,6 @@ static const str XHTTP_RPC_SLASH = str_init("/");
static const str XHTTP_RPC_SEMICOLON = str_init(": ");
static const str XHTTP_RPC_NODE_INDENT = str_init("\t");
-static const str XHTTP_RPC_NODE_SEPARATOR = str_init(":: ");
-static const str XHTTP_RPC_ATTR_SEPARATOR = str_init(" ");
-static const str XHTTP_RPC_ATTR_VAL_SEPARATOR = str_init("=");
const str XHTTP_RPC_BREAK = str_init("<br/>");
static const str XHTTP_RPC_CODE_1 = str_init("<pre>");
@@ -185,12 +182,6 @@ static const str XHTTP_RPC_Post_1 = str_init("\n"\
" <input type=\"submit\"
value=\"Submit\"/>\n"\
" </form>\n");
-static const str XHTTP_RPC_Post_1a = str_init("\n"\
-" <form name=\"input\"
method=\"get\">\n"\
-" <textarea name=\"arg\" rows=\"2\"
cols=\"60\"></textarea>\n"\
-" <input type=\"submit\"
value=\"Submit\"/>\n"\
-" </form>\n");
-
static const str XHTTP_RPC_Response_Foot = str_init(\
"\n</center>\n<div align=\"center\" class=\"foot\"
style=\"margin:20px auto\">"\
"<span style='margin-left:5px;'></span>"\