diff options
author | Robert Newson <rnewson@apache.org> | 2011-10-20 17:25:25 +0100 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2011-10-20 17:25:25 +0100 |
commit | ac1f52b32b39e8adc2b7d74040da0e0db4894d2a (patch) | |
tree | 83c21af0251d33cccc63b8b3a2c49d2dd4d42e58 | |
parent | e37148e14bdaf88a0a568edbade6cf9101afb4af (diff) |
Fix object sealing on sm 1.7.0
-rw-r--r-- | src/couchdb/priv/couch_js/sm170.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/priv/couch_js/sm170.c b/src/couchdb/priv/couch_js/sm170.c index ebb6673f..c900b850 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; |