svn commit: samba r23652 - in branches: SAMBA_3_0/source/utils SAMBA_3_0_26/source/utils

obnox at samba.org obnox at samba.org
Fri Jun 29 10:22:19 GMT 2007


Author: obnox
Date: 2007-06-29 10:22:18 +0000 (Fri, 29 Jun 2007)
New Revision: 23652

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23652

Log:
Use the recursive delete function instead of the original one
when deleting a share. Just to be sure...

Michael


Modified:
   branches/SAMBA_3_0/source/utils/net_conf.c
   branches/SAMBA_3_0_26/source/utils/net_conf.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_conf.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_conf.c	2007-06-29 09:58:11 UTC (rev 23651)
+++ branches/SAMBA_3_0/source/utils/net_conf.c	2007-06-29 10:22:18 UTC (rev 23652)
@@ -256,7 +256,7 @@
 		goto done;
 	}
 
-	werr = reg_deletekey(key, keyname);
+	werr = reg_deletekey_recursive(key, key, keyname);
 	if (!W_ERROR_IS_OK(werr)) {
 		d_fprintf(stderr, "Error deleting registry key %s\\%s: %s\n",
 			  KEY_SMBCONF, keyname, dos_errstr(werr));

Modified: branches/SAMBA_3_0_26/source/utils/net_conf.c
===================================================================
--- branches/SAMBA_3_0_26/source/utils/net_conf.c	2007-06-29 09:58:11 UTC (rev 23651)
+++ branches/SAMBA_3_0_26/source/utils/net_conf.c	2007-06-29 10:22:18 UTC (rev 23652)
@@ -256,7 +256,7 @@
 		goto done;
 	}
 
-	werr = reg_deletekey(key, keyname);
+	werr = reg_deletekey_recursive(key, key, keyname);
 	if (!W_ERROR_IS_OK(werr)) {
 		d_fprintf(stderr, "Error deleting registry key %s\\%s: %s\n",
 			  KEY_SMBCONF, keyname, dos_errstr(werr));



More information about the samba-cvs mailing list