svn commit: samba r22006 - in branches/SAMBA_3_0/source/lib: .
metze at samba.org
metze at samba.org
Thu Mar 29 07:30:24 GMT 2007
Author: metze
Date: 2007-03-29 07:30:22 +0000 (Thu, 29 Mar 2007)
New Revision: 22006
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22006
Log:
use string_term_tdb_data()...
metze
Modified:
branches/SAMBA_3_0/source/lib/sharesec.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/sharesec.c
===================================================================
--- branches/SAMBA_3_0/source/lib/sharesec.c 2007-03-28 23:01:35 UTC (rev 22005)
+++ branches/SAMBA_3_0/source/lib/sharesec.c 2007-03-29 07:30:22 UTC (rev 22006)
@@ -194,8 +194,7 @@
slprintf(key, sizeof(key)-1, "SECDESC/%s",
lp_servicename(params->service));
- kbuf.dptr = key;
- kbuf.dsize = strlen(key)+1;
+ kbuf = string_term_tdb_data(key);
if (tdb_trans_delete(share_tdb, kbuf) != 0) {
DEBUG(0,("delete_share_security: Failed to delete entry for share %s\n",
More information about the samba-cvs
mailing list