[Freeswitch-svn] [commit] r9030 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Mon Jul 14 23:13:33 EDT 2008


Author: mikej
Date: Mon Jul 14 23:13:33 2008
New Revision: 9030

Modified:
   freeswitch/trunk/src/switch_core.c

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

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Mon Jul 14 23:13:33 2008
@@ -941,7 +941,7 @@
 					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));



More information about the Freeswitch-svn mailing list