couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [5/50] git commit: Fix object sealing on sm 1.7.0
Date Wed, 26 Oct 2011 18:05:32 GMT
Fix object sealing on sm 1.7.0


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/94b2156a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/94b2156a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/94b2156a

Branch: refs/heads/1319-large-headers-are-corrupted
Commit: 94b2156a35ac37eb88f23999504c7ef3d04088d6
Parents: 7c989ec
Author: Robert Newson <rnewson@apache.org>
Authored: Thu Oct 20 17:25:25 2011 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Oct 20 17:25:33 2011 +0100

----------------------------------------------------------------------
 src/couchdb/priv/couch_js/sm170.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/94b2156a/src/couchdb/priv/couch_js/sm170.c
----------------------------------------------------------------------
diff --git a/src/couchdb/priv/couch_js/sm170.c b/src/couchdb/priv/couch_js/sm170.c
index ebb6673..c900b85 100644
--- a/src/couchdb/priv/couch_js/sm170.c
+++ b/src/couchdb/priv/couch_js/sm170.c
@@ -217,7 +217,7 @@ seal(JSContext* cx, JSObject* obj, uintN argc, jsval* argv, jsval* rval)
         return JS_TRUE;
     }
 
-    if(JS_SealObject(cx, obj, deep) != JS_TRUE)
+    if(JS_SealObject(cx, target, deep) != JS_TRUE)
         return JS_FALSE;
 
     *rval = JSVAL_VOID;


Mime
View raw message