registry: some whitespace cleanup in init_registry().
authorMichael Adam <obnox@samba.org>
Sat, 22 Mar 2008 00:53:44 +0000 (01:53 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 22 Mar 2008 00:53:44 +0000 (01:53 +0100)
Michael
(This used to be commit f33095e44ba22f4451a5deeffdd4f9ed3f99ed85)

source3/registry/reg_init_full.c

index 518cccb1b268521277d426a6f5baad1336c10639..ad245cb52e95bbb14d2bcf093e70b06fa8178f59 100644 (file)
@@ -61,29 +61,30 @@ REGISTRY_HOOK reg_hooks[] = {
  Open the registry database and initialize the REGISTRY_HOOK cache
  with all available backens.
  ***********************************************************************/
+
 bool init_registry( void )
 {
        int i;
        bool ret = false;
-       
-       
+
        if ( !regdb_init() ) {
-               DEBUG(0,("init_registry: failed to initialize the registry tdb!\n"));
+               DEBUG(0, ("init_registry: failed to initialize the registry "
+                         "tdb!\n"));
                goto fail;
        }
 
        /* setup the necessary keys and values */
 
        if ( !init_registry_data() ) {
-               DEBUG(0,("regdb_init: Failed to initialize data in registry!\n"));
+               DEBUG(0, ("regdb_init: Failed to initialize data in "
+                         "registry!\n"));
                goto fail;
        }
 
        /* build the cache tree of registry hooks */
-       
+
        reghook_cache_init();
-       
+
        for ( i=0; reg_hooks[i].keyname; i++ ) {
                if ( !reghook_cache_add(&reg_hooks[i]) )
                        goto fail;
@@ -98,9 +99,9 @@ bool init_registry( void )
        eventlog_init_keys();
        perfcount_init_keys();
 
-
        ret = true;
- fail:
+
+fail:
        /* close and let each smbd open up as necessary */
        regdb_close();
        return ret;