svn commit: samba r11203 - in
branches/SAMBA_4_0/source/scripting/libjs: .
abartlet at samba.org
abartlet at samba.org
Thu Oct 20 04:35:31 GMT 2005
Author: abartlet
Date: 2005-10-20 04:35:30 +0000 (Thu, 20 Oct 2005)
New Revision: 11203
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11203
Log:
Use different variable names to make it easier to tell which assert fired.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/scripting/libjs/provision.js
Changeset:
Modified: branches/SAMBA_4_0/source/scripting/libjs/provision.js
===================================================================
--- branches/SAMBA_4_0/source/scripting/libjs/provision.js 2005-10-20 04:34:26 UTC (rev 11202)
+++ branches/SAMBA_4_0/source/scripting/libjs/provision.js 2005-10-20 04:35:30 UTC (rev 11203)
@@ -192,15 +192,15 @@
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);
}
/*
More information about the samba-cvs
mailing list