mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 02:34:18 +00:00
use switch_true instead
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10304 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
69b7d6546c
commit
8c15644255
@ -1070,8 +1070,8 @@ static int config(void)
|
||||
set_pref_cookie(val);
|
||||
} else if (!strcmp(var, "nodename")) {
|
||||
set_pref_nodename(val);
|
||||
} else if (!strcmp(var, "shortname") && strcmp(val, "yes") && strcmp(val, "true")) {
|
||||
prefs.shortname = SWITCH_FALSE;
|
||||
} else if (!strcmp(var, "shortname")) {
|
||||
prefs.shortname = switch_true(val);
|
||||
} else if (!strcasecmp(var, "apply-inbound-acl")) {
|
||||
if (prefs.acl_count < MAX_ACL) {
|
||||
prefs.acl[prefs.acl_count++] = strdup(val);
|
||||
|
Loading…
x
Reference in New Issue
Block a user