mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
mod_fifo: Refactor
This commit is contained in:
1 parent
0526e00457
commit
1f7589d6fa
1 file changed
+1
-3
@@ -4481,9 +4481,7 @@ static switch_status_t load_config(int reload, int del_all)
|
||||
int ring_timeout = 60;
|
||||
int default_lag = 30;
|
||||
|
||||
name = switch_xml_attr(fifo, "name");
|
||||
|
||||
if (!name) {
|
||||
if (!(name = switch_xml_attr(fifo, "name"))) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "fifo has no name!\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user