]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
allow mailer-app-args to be blank (FSCORE-158)
authorMichael Jerris <mike@jerris.com>
Tue, 15 Jul 2008 03:13:33 +0000 (03:13 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 15 Jul 2008 03:13:33 +0000 (03:13 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9030 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core.c

index e64fc049f3b3c2298776ce8728da504cebc3968c..411616e23d2cfdde7ab892c1b77528f57158a7cc 100644 (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));