summaryrefslogtreecommitdiff
path: root/source3/registry/reg_frontend.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-20 02:42:04 +0000
committerGerald Carter <jerry@samba.org>2002-07-20 02:42:04 +0000
commit39bbeff5b361ffa6a5ff9273cf7fce5f46543703 (patch)
treefd091e5a4bb4ed90a6aafa8c22721a0c61e4be5f /source3/registry/reg_frontend.c
parent3c0a9c46d8057b9499d7d48a67ba15f9942d558a (diff)
downloadsamba-39bbeff5b361ffa6a5ff9273cf7fce5f46543703.tar.gz
samba-39bbeff5b361ffa6a5ff9273cf7fce5f46543703.tar.bz2
samba-39bbeff5b361ffa6a5ff9273cf7fce5f46543703.zip
fixed a logic error in the sorted_tree_find_child() routine
that caused a valid search to fail. The printing registry view now works again. (This used to be commit 2050859f03493d5135984ce1e42baf8f1f2566b9)
Diffstat (limited to 'source3/registry/reg_frontend.c')
-rw-r--r--source3/registry/reg_frontend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/registry/reg_frontend.c b/source3/registry/reg_frontend.c
index 6090245096..de2b279546 100644
--- a/source3/registry/reg_frontend.c
+++ b/source3/registry/reg_frontend.c
@@ -60,7 +60,8 @@ BOOL init_registry( void )
return False;
}
- reghook_dump_cache(20);
+ if ( DEBUGLEVEL >= 20 )
+ reghook_dump_cache(20);
return True;
}