From: Michael Adam Date: Fri, 29 Jun 2007 10:22:18 +0000 (+0000) Subject: r23652: Use the recursive delete function instead of the original one X-Git-Tag: samba-4.0.0alpha6~801^2~5511 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3163aff376be5dbda5ce38dbc07765a25854434b;p=thirdparty%2Fsamba.git r23652: Use the recursive delete function instead of the original one when deleting a share. Just to be sure... Michael (This used to be commit 91770e153d7dd87d5e4f0516c297812091ba5b5a) --- diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c index 8a906a6c27c..b9b693d8d55 100644 --- a/source3/utils/net_conf.c +++ b/source3/utils/net_conf.c @@ -256,7 +256,7 @@ static WERROR reg_delkey_internal(TALLOC_CTX *ctx, const char *keyname) 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));