From: Brian West Date: Thu, 27 Feb 2014 21:25:29 +0000 (-0600) Subject: FS-6209 failing to load without a conf is bad X-Git-Tag: v.15.9~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26e96effe94ce2b96690a689d076d0cdcf0eb5f6;p=thirdparty%2Ffreeswitch.git FS-6209 failing to load without a conf is bad --- diff --git a/src/mod/codecs/mod_opus/mod_opus.c b/src/mod/codecs/mod_opus/mod_opus.c index b7c3c51e12..96ff9ebde1 100644 --- a/src/mod/codecs/mod_opus/mod_opus.c +++ b/src/mod/codecs/mod_opus/mod_opus.c @@ -401,7 +401,7 @@ static switch_status_t opus_load_config(switch_bool_t reload) if (!(xml = switch_xml_open_cfg(cf, &cfg, NULL))) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Opening of %s failed\n", cf); - status = SWITCH_STATUS_TERM; + return status; } if ((settings = switch_xml_child(cfg, "settings"))) {