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
This commit is contained in:
Michael Jerris 2008-07-15 03:13:33 +00:00
parent 7520074457
commit 001def1692
1 changed files with 1 additions and 1 deletions

View File

@ -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));