couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [3/3] git commit: Fix object sealing on sm 1.7.0
Date Thu, 20 Oct 2011 16:26:47 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/ac1f52b3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ac1f52b3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/ac1f52b3

Branch: refs/heads/1.1.x
Commit: ac1f52b32b39e8adc2b7d74040da0e0db4894d2a
Parents: e37148e
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:25 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/ac1f52b3/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