git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
110e420
)
r23652: Use the recursive delete function instead of the original one
author
Michael Adam
<obnox@samba.org>
Fri, 29 Jun 2007 10:22:18 +0000
(10:22 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:41 +0000
(12:23 -0500)
when deleting a share. Just to be sure...
Michael
(This used to be commit
91770e153d7dd87d5e4f0516c297812091ba5b5a
)
source3/utils/net_conf.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_conf.c
b/source3/utils/net_conf.c
index 8a906a6c27c4e51a1de3b5a1c5a90bf9221f5bbe..b9b693d8d551cf00c5b1f239d8812673f10586e6 100644
(file)
--- 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));