[Freeswitch-svn] [commit] r10507 - freeswitch/trunk/src/mod/languages/mod_spidermonkey

FreeSWITCH SVN mikej at freeswitch.org
Fri Nov 21 14:08:13 PST 2008


Author: mikej
Date: Fri Nov 21 17:08:12 2008
New Revision: 10507

Log:
MODLANG-90 (remove extra return added in 10472 breaking jsapi)

Modified:
   freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	Fri Nov 21 17:08:12 2008
@@ -3510,7 +3510,6 @@
 		if (!(session && new_js_session(cx, javascript_global_object, session, &jss, "session", flags))) {
 			switch_snprintf(buf, sizeof(buf), "~var session = false;");
 			eval_some_js(buf, cx, javascript_global_object, &rval);
-			return;
 		}
 		if (ro) {
 			new_request(cx, javascript_global_object, ro);



More information about the Freeswitch-svn mailing list