From: Anthony Minessale Date: Sat, 18 Jun 2011 16:52:37 +0000 (-0500) Subject: only clear scope vars when they were set X-Git-Tag: v1.2-rc1~108^2^2~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77688084885a765753728bd2e84f781f7f95b7da;p=thirdparty%2Ffreeswitch.git only clear scope vars when they were set --- diff --git a/src/switch_core_session.c b/src/switch_core_session.c index 21ddd87a8f..35980084e2 100644 --- a/src/switch_core_session.c +++ b/src/switch_core_session.c @@ -1980,7 +1980,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_exec(switch_core_session_t * const char *app; switch_core_session_message_t msg = { 0 }; char delim = ','; - int scope = 1; + int scope = 0; switch_assert(application_interface);