diff options
-rw-r--r-- | couchjs/c_src/sm170.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/couchjs/c_src/sm170.c b/couchjs/c_src/sm170.c index 44cb5870..016c91e0 100644 --- a/couchjs/c_src/sm170.c +++ b/couchjs/c_src/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; |