diff options
-rw-r--r-- | source3/registry/reg_cachehook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_cachehook.c b/source3/registry/reg_cachehook.c index eb2884fc26..bfdc0de5f5 100644 --- a/source3/registry/reg_cachehook.c +++ b/source3/registry/reg_cachehook.c @@ -58,7 +58,7 @@ bool reghook_cache_init( void ) { if (cache_tree == NULL) { cache_tree = pathtree_init(®db_ops, NULL); - if (cache_tree !=0) { + if (cache_tree != NULL) { DEBUG(10, ("reghook_cache_init: new tree with default " "ops %p for key [%s]\n", (void *)®db_ops, KEY_TREE_ROOT)); |