]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Core] switch_loadable_module wrongly logs that modules.conf loading fails while...
authormangshe0 <mangshe0@163.com>
Mon, 6 Jan 2020 18:30:51 +0000 (02:30 +0800)
committerAndrey Volk <andywolk@gmail.com>
Mon, 6 Jan 2020 18:30:51 +0000 (22:30 +0400)
fix print log error

src/switch_loadable_module.c

index 2f6c1dca69d8634227a9c938097bad997e3a6216..1e8a4bf679360f050fc6c76be39250fa4a13dcfd 100644 (file)
@@ -2229,7 +2229,7 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_init(switch_bool_t autolo
 
        }
        else {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "open of %s failed\n", cf);
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "open of %s failed\n", precf);
        }
 
        if (switch_core_sqldb_init(&err) != SWITCH_STATUS_SUCCESS)