[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2276-g0aea404

Volker Lendecke vlendec at samba.org
Mon May 5 12:54:24 GMT 2008


The branch, v3-3-test has been updated
       via  0aea404b0a83736ba2884cc7cf00cd797aab1f56 (commit)
      from  50c891d3dfb75c9f607f7ad2a578aa3ba5d91988 (commit)

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


- Log -----------------------------------------------------------------
commit 0aea404b0a83736ba2884cc7cf00cd797aab1f56
Author: Volker Lendecke <vl at samba.org>
Date:   Mon May 5 14:53:49 2008 +0200

    Second half of 50c891d3: Correctly clear the vuid cache

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

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


Changeset truncated at 500 lines:

diff --git a/source/smbd/conn.c b/source/smbd/conn.c
index af18e90..ce07053 100644
--- a/source/smbd/conn.c
+++ b/source/smbd/conn.c
@@ -237,7 +237,7 @@ void conn_clear_vuid_cache(uint16 vuid)
 			conn->vuid = UID_FIELD_INVALID;
 		}
 
-		for (i=0;i<conn->vuid_cache.entries && i< VUID_CACHE_SIZE;i++) {
+		for (i=0; i<VUID_CACHE_SIZE; i++) {
 			if (conn->vuid_cache.array[i].vuid == vuid) {
 				struct vuid_cache_entry *ent = &conn->vuid_cache.array[i];
 				ent->vuid = UID_FIELD_INVALID;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list