The branch, v3-2-test has been updated
       via  64664d25cf84e5e0f4a4876b2c38c127b310dbc5 (commit)
      from  948ab77863b12b1b0bd1c970004b84b9bb1bb2fa (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 64664d25cf84e5e0f4a4876b2c38c127b310dbc5
Author: Michael Adam <[EMAIL PROTECTED]>
Date:   Mon Mar 17 12:21:32 2008 +0100

    registry: untangle assignment and if-clause in init_registry_data().
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source/registry/reg_backend_db.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/registry/reg_backend_db.c b/source/registry/reg_backend_db.c
index 1378d00..08f74eb 100644
--- a/source/registry/reg_backend_db.c
+++ b/source/registry/reg_backend_db.c
@@ -196,7 +196,8 @@ static bool init_registry_data(void)
 
        for (i=0; builtin_registry_values[i].path != NULL; i++) {
 
-               if (!(values = TALLOC_ZERO_P(frame, REGVAL_CTR))) {
+               values = TALLOC_ZERO_P(frame, REGVAL_CTR);
+               if (values == NULL) {
                        goto fail;
                }
 


-- 
Samba Shared Repository

Reply via email to