From: Volker Lendecke Date: Mon, 5 May 2008 13:06:30 +0000 (+0200) Subject: Revert "Second half of 50c891d3: Correctly clear the vuid cache" X-Git-Tag: samba-4.0.0alpha6~801^2~1534 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58c54eb91f0490096c980a4f7aec323953813d64;p=thirdparty%2Fsamba.git Revert "Second half of 50c891d3: Correctly clear the vuid cache" This reverts commit 0aea404b0a83736ba2884cc7cf00cd797aab1f56. (This used to be commit fa39f47f5fc2df0f1a59705e30a799518c353b45) --- diff --git a/source3/smbd/conn.c b/source3/smbd/conn.c index ce0705377f2..af18e905c08 100644 --- a/source3/smbd/conn.c +++ b/source3/smbd/conn.c @@ -237,7 +237,7 @@ void conn_clear_vuid_cache(uint16 vuid) conn->vuid = UID_FIELD_INVALID; } - for (i=0; ivuid_cache.entries && 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;