summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-30 18:46:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:26 -0500
commite0e8743baf6c34987d56c8b7166a7c928bbdd6a5 (patch)
tree09a7a5b65d5e28f6b8a3e518e3722bac939f0c98 /source4/lib/registry/tools
parentc4e622f4b753bfb25198a2be74bbcad6398d2b19 (diff)
downloadsamba-e0e8743baf6c34987d56c8b7166a7c928bbdd6a5.tar.gz
samba-e0e8743baf6c34987d56c8b7166a7c928bbdd6a5.tar.bz2
samba-e0e8743baf6c34987d56c8b7166a7c928bbdd6a5.zip
r15363: Fix dependencies for shared library
(This used to be commit f2ca71f1229f4c20296895116c09bacbd6a53b55)
Diffstat (limited to 'source4/lib/registry/tools')
-rw-r--r--source4/lib/registry/tools/regtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/tools/regtree.c b/source4/lib/registry/tools/regtree.c
index b0e1c46d9c..dae8c389c2 100644
--- a/source4/lib/registry/tools/regtree.c
+++ b/source4/lib/registry/tools/regtree.c
@@ -99,13 +99,13 @@ int main(int argc, char **argv)
POPT_TABLEEND
};
- registry_init();
-
pc = poptGetContext(argv[0], argc, (const char **) argv, long_options,0);
while((opt = poptGetNextOpt(pc)) != -1) {
}
+ registry_init();
+
if (remote) {
error = reg_open_remote(&h, NULL, cmdline_credentials, remote, NULL);
} else if (backend) {