From 823fb402263ce24dd4632d8835d4f4853306a370 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 1 Nov 2007 00:31:33 +0000 Subject: [PATCH] via tony git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6118 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_core_session.c b/src/switch_core_session.c index 4b3933803e..4d125fbdd9 100644 --- a/src/switch_core_session.c +++ b/src/switch_core_session.c @@ -905,8 +905,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_exec(switch_core_session_t * switch_event_t *event; switch_channel_t *channel; - if (switch_strlen_zero(arg)) { - arg = "_undef_"; + if (!arg) { + arg = ""; } log = switch_core_session_alloc(session, sizeof(*log));