[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Sat Nov 7 04:21:40 MST 2009


The branch, master has been updated
       via  22d9610... s4:dsdb/common/util - samdb_result_hashes - use "unsigned int" for counters
      from  5cdee7a... s3: Do the printing for DEBUGLEVEL>=10 centrally

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 22d9610a1fd7cf2c1421ec3f63e8e78ffdfd790a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date:   Sat Nov 7 12:15:38 2009 +0100

    s4:dsdb/common/util - samdb_result_hashes - use "unsigned int" for counters

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

Summary of changes:
 source4/dsdb/common/util.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index 393e1d4..dcbb462 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -563,9 +563,8 @@ struct samr_Password *samdb_result_hash(TALLOC_CTX *mem_ctx, const struct ldb_me
 uint_t samdb_result_hashes(TALLOC_CTX *mem_ctx, const struct ldb_message *msg, 
 			   const char *attr, struct samr_Password **hashes)
 {
-	uint_t count = 0;
+	uint_t count, i;
 	const struct ldb_val *val = ldb_msg_find_ldb_val(msg, attr);
-	int i;
 
 	*hashes = NULL;
 	if (!val) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list