diff options
author | Andreas Schneider <asn@samba.org> | 2012-12-17 15:21:10 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2012-12-21 13:56:01 +0100 |
commit | f0454ffb69d93daafd350e6021f953586c5374bd (patch) | |
tree | 1dafa641aeed6b225fa6129c6382dd20a35c3b75 /source3/modules | |
parent | 3bf3ab4f648f48c703d491ba2a883a1895960dbd (diff) | |
download | samba-f0454ffb69d93daafd350e6021f953586c5374bd.tar.gz samba-f0454ffb69d93daafd350e6021f953586c5374bd.tar.bz2 samba-f0454ffb69d93daafd350e6021f953586c5374bd.zip |
s3-vfs: Fix typo in readonly_connect().
Found by Coverity.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_readonly.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_readonly.c b/source3/modules/vfs_readonly.c index 2b09d882bd..7919dbc78b 100644 --- a/source3/modules/vfs_readonly.c +++ b/source3/modules/vfs_readonly.c @@ -82,7 +82,7 @@ static int readonly_connect(vfs_handle_struct *handle, /* Wipe out the VUID cache. */ for (i=0; i< VUID_CACHE_SIZE; i++) { - struct vuid_cache_entry *ent = ent = &conn->vuid_cache.array[i]; + struct vuid_cache_entry *ent = &conn->vuid_cache.array[i]; ent->vuid = UID_FIELD_INVALID; TALLOC_FREE(ent->session_info); ent->read_only = false; |