couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/3] git commit: Fix object sealing on sm 1.7.0
Date Thu, 20 Oct 2011 16:26:47 GMT
Updated Branches:
  refs/heads/1.1.x e37148e14 -> ac1f52b32
  refs/heads/1.2.x d0936775a -> cf94efcba
  refs/heads/master 7c989eca4 -> 94b2156a3


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/cf94efcb
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/cf94efcb
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/cf94efcb

Branch: refs/heads/1.2.x
Commit: cf94efcba6ed0c660a25358e80d153410b082e16
Parents: d093677
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:48 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/cf94efcb/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