提交 001def16 authored 作者: Michael Jerris's avatar Michael Jerris

allow mailer-app-args to be blank (FSCORE-158)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9030 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 75200744
......@@ -941,7 +941,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
runtime.colorize_console = SWITCH_TRUE;
} else if (!strcasecmp(var, "mailer-app") && !switch_strlen_zero(val)) {
runtime.mailer_app = switch_core_strdup(runtime.memory_pool, val);
} else if (!strcasecmp(var, "mailer-app-args") && !switch_strlen_zero(val)) {
} else if (!strcasecmp(var, "mailer-app-args") && val) {
runtime.mailer_app_args = switch_core_strdup(runtime.memory_pool, val);
} else if (!strcasecmp(var, "sessions-per-second") && !switch_strlen_zero(val)) {
switch_core_sessions_per_second(atoi(val));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论