mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-01 13:22:40 +00:00
hint... hint...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5038 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ac065100b6
commit
757916feff
@ -467,7 +467,9 @@ switch_status_t config_sofia(int reload, char *profile_name)
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(xml = switch_xml_open_cfg(cf, &cfg, NULL))) {
|
snprintf(url, sizeof(url), "profile=%s", switch_str_nil(profile_name));
|
||||||
|
|
||||||
|
if (!(xml = switch_xml_open_cfg(cf, &cfg, url))) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "open of %s failed\n", cf);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "open of %s failed\n", cf);
|
||||||
status = SWITCH_STATUS_FALSE;
|
status = SWITCH_STATUS_FALSE;
|
||||||
goto done;
|
goto done;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user