svn commit: samba r12708 - in
branches/SAMBA_4_0/source/scripting/ejs: .
abartlet at samba.org
abartlet at samba.org
Wed Jan 4 01:28:04 GMT 2006
Author: abartlet
Date: 2006-01-04 01:28:03 +0000 (Wed, 04 Jan 2006)
New Revision: 12708
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12708
Log:
This is equivilant, but doesn't cause a warning.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c
Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c 2006-01-03 22:33:50 UTC (rev 12707)
+++ branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c 2006-01-04 01:28:03 UTC (rev 12708)
@@ -338,8 +338,7 @@
return -1;
}
- val.data = mprToString(argv[0]);
- val.length = strlen((const char *)val.data);
+ val = data_blob_string_const(mprToString(argv[0]));
ret = ldb_dn_escape_value(mprMemCtx(), val);
if (ret == NULL) {
More information about the samba-cvs
mailing list