git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r26355: Eliminate global_loadparm in more places.
[kai/samba.git]
/
source
/
lib
/
registry
/
tools
/
regtree.c
diff --git
a/source/lib/registry/tools/regtree.c
b/source/lib/registry/tools/regtree.c
index 6c21f2cbad4cda995bcb9045755b8385f0af3b0e..b267e11b43d3dc3f78324583be855f72b49f65ce 100644
(file)
--- a/
source/lib/registry/tools/regtree.c
+++ b/
source/lib/registry/tools/regtree.c
@@
-129,11
+129,11
@@
int main(int argc, char **argv)
}
if (remote != NULL) {
}
if (remote != NULL) {
- h = reg_common_open_remote(remote,
global_loadparm
, cmdline_credentials);
+ h = reg_common_open_remote(remote,
cmdline_lp_ctx
, cmdline_credentials);
} else if (file != NULL) {
start_key = reg_common_open_file(file, cmdline_credentials);
} else {
} else if (file != NULL) {
start_key = reg_common_open_file(file, cmdline_credentials);
} else {
- h = reg_common_open_local(cmdline_credentials,
global_loadparm
);
+ h = reg_common_open_local(cmdline_credentials,
cmdline_lp_ctx
);
}
if (h == NULL && start_key == NULL)
}
if (h == NULL && start_key == NULL)