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

Freeswitch SVN anthm at freeswitch.org
Tue Jul 8 19:18:17 EDT 2008


Author: anthm
Date: Tue Jul  8 19:18:16 2008
New Revision: 8948

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

Log:
update

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	Tue Jul  8 19:18:16 2008
@@ -1710,9 +1710,10 @@
 
 	if (argc > 0) {
 		JS_ValueToInt32(cx, argv[0], &ms);
-		if (ms <= 0) {
-			return JS_FALSE;
-		}
+	}
+
+	if (ms <= 0) {
+		return JS_FALSE;
 	}
 
 	if (argc > 1) {



More information about the Freeswitch-svn mailing list