[Freeswitch-svn] [commit] r6035 - freeswitch/trunk/src/mod/languages/mod_spidermonkey
Freeswitch SVN
anthm at freeswitch.org
Tue Oct 23 15:02:47 EDT 2007
Author: anthm
Date: Tue Oct 23 15:02:47 2007
New Revision: 6035
Modified:
freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
Log:
fix MODLANG-42
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 Oct 23 15:02:47 2007
@@ -2908,7 +2908,7 @@
{
char *code;
if (argc > 0 && (code = JS_GetStringBytes(JS_ValueToString(cx, argv[0])))) {
- if (eval_some_js(code, cx, obj, rval) < 0) {
+ if (eval_some_js(code, cx, obj, rval) <= 0) {
return JS_FALSE;
}
return JS_TRUE;
More information about the Freeswitch-svn
mailing list