r15233: Fix loading shared modules
authorJelmer Vernooij <jelmer@samba.org>
Tue, 25 Apr 2006 09:45:15 +0000 (09:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:04:21 +0000 (14:04 -0500)
source/gtk/tools/gregedit.c

index 58e2f2ad882cec131f274c2e42217f1bec0f6aef..3326fff6e805d7d739d769aae044c4387575092f 100644 (file)
@@ -967,9 +967,9 @@ int main(int argc, char *argv[])
 {
        int ret;
 
-       registry_init();
-
        lp_load();
+
+       registry_init();
        setup_logging(argv[0], DEBUG_STDERR);
 
        mem_ctx = talloc_init("gregedit");