You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2011/10/26 20:05:32 UTC
[5/50] git commit: Fix object sealing on sm 1.7.0
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 <rn...@apache.org>
Authored: Thu Oct 20 17:25:25 2011 +0100
Committer: Robert Newson <rn...@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;