diff options
author | Michael Adam <obnox@samba.org> | 2009-07-03 16:48:36 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-07-15 14:01:42 +0200 |
commit | 86e927cb056b30be3b2eecc1375549de71419b1f (patch) | |
tree | 646cb22d4941174f2c52b3efd3688dcdfcfd2ad3 /source3/registry | |
parent | bd983dba6b308c28019c2e39f16de8b9e434e4f5 (diff) | |
download | samba-86e927cb056b30be3b2eecc1375549de71419b1f.tar.gz samba-86e927cb056b30be3b2eecc1375549de71419b1f.tar.bz2 samba-86e927cb056b30be3b2eecc1375549de71419b1f.zip |
s3:registry: add db_context argument to regdb_delete_subkeylist()
Michael
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_backend_db.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 1a6ae7bb45..69676b19e6 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -561,9 +561,9 @@ static WERROR regdb_delete_secdesc(struct db_context *db, const char *keyname) return regdb_delete_key_with_prefix(db, keyname, REG_SECDESC_PREFIX); } -static WERROR regdb_delete_subkeylist(const char *keyname) +static WERROR regdb_delete_subkeylist(struct db_context *db, const char *keyname) { - return regdb_delete_key_with_prefix(regdb, keyname, NULL); + return regdb_delete_key_with_prefix(db, keyname, NULL); } static WERROR regdb_delete_key_lists(const char *keyname) @@ -584,7 +584,7 @@ static WERROR regdb_delete_key_lists(const char *keyname) goto done; } - werr = regdb_delete_subkeylist(keyname); + werr = regdb_delete_subkeylist(regdb, keyname); if (!W_ERROR_IS_OK(werr)) { DEBUG(1, (__location__ " Deleting %s failed: %s\n", keyname, win_errstr(werr))); |