couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r882925 - /couchdb/tags/0.9.2/src/couchdb/couch_js.c
Date Sat, 21 Nov 2009 15:21:02 GMT
Author: jan
Date: Sat Nov 21 15:20:51 2009
New Revision: 882925

URL: http://svn.apache.org/viewvc?rev=882925&view=rev
Log:
really complete port of the COUCHDB-288 fix

Modified:
    couchdb/tags/0.9.2/src/couchdb/couch_js.c

Modified: couchdb/tags/0.9.2/src/couchdb/couch_js.c
URL: http://svn.apache.org/viewvc/couchdb/tags/0.9.2/src/couchdb/couch_js.c?rev=882925&r1=882924&r2=882925&view=diff
==============================================================================
--- couchdb/tags/0.9.2/src/couchdb/couch_js.c (original)
+++ couchdb/tags/0.9.2/src/couchdb/couch_js.c Sat Nov 21 15:20:51 2009
@@ -229,7 +229,7 @@
         *rval = OBJECT_TO_JSVAL(sandbox);
         ok = JS_TRUE;
     } else {
-        ok = JS_EvaluateUCScript(sub_context, sandbox, src, srclen, NULL, -1,
+        ok = JS_EvaluateUCScript(sub_context, sandbox, src, srclen, NULL, 0,
                                  rval);
         ok = JS_TRUE;
     }



Mime
View raw message