summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-10-20 04:35:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:01 -0500
commit642b42424a75102c83cd8d1fbd67186db0623e76 (patch)
treebd2fde1c8b500ed847f007124585ba43b13c4580 /source4/scripting/libjs
parent0efa46e652e0e6c89546df066affe8bb54a64e4d (diff)
downloadsamba-642b42424a75102c83cd8d1fbd67186db0623e76.tar.gz
samba-642b42424a75102c83cd8d1fbd67186db0623e76.tar.bz2
samba-642b42424a75102c83cd8d1fbd67186db0623e76.zip
r11203: Use different variable names to make it easier to tell which assert fired.
Andrew Bartlett (This used to be commit df6a40c2d261804f1cd4feb24572135a4c62a802)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r--source4/scripting/libjs/provision.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index d700ecd539..56f8251015 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -192,15 +192,15 @@ function setup_ldb(ldif, dbname, subobj)
ldb.filename = dbname;
- var ok = ldb.connect(dbname);
- assert(ok);
+ var connect_ok = ldb.connect(dbname);
+ assert(connect_ok);
if (erase) {
ldb_erase(ldb);
}
- ok = ldb.add(data);
- assert(ok);
+ var add_ok = ldb.add(data);
+ assert(add_ok);
}
/*