From 001def16929aa73f4a0b29a659017442a1e0064d Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 15 Jul 2008 03:13:33 +0000 Subject: [PATCH] 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 --- src/switch_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_core.c b/src/switch_core.c index e64fc049f3..411616e23d 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -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));