normalize configuration parameters to use - instead of _.

Break everybody's configuration.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1475 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2006-05-16 17:08:21 +00:00
parent 0048061a7a
commit 31ee0d59fc
9 changed files with 33 additions and 35 deletions

View File

@@ -149,11 +149,11 @@ static switch_status_t do_config(void)
char *var = (char *) switch_xml_attr(param, "name");
char *val = (char *) switch_xml_attr(param, "value");
if (!strcasecmp(var, "gateway_url")) {
if (!strcasecmp(var, "gateway-url")) {
char *bindings = (char *) switch_xml_attr(param, "bindings");
set_global_bindings(bindings);
set_global_url(val);
} else if (!strcasecmp(var, "http_port")) {
} else if (!strcasecmp(var, "http-port")) {
globals.port = (uint16_t)atoi(val);
}
}