git.samba.org
/
jlayton
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bf3ab4
)
s3-vfs: Fix typo in readonly_connect().
author
Andreas Schneider
<asn@samba.org>
Mon, 17 Dec 2012 14:21:10 +0000
(15:21 +0100)
committer
Günther Deschner
<gd@samba.org>
Fri, 21 Dec 2012 12:56:01 +0000
(13:56 +0100)
Found by Coverity.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/modules/vfs_readonly.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_readonly.c
b/source3/modules/vfs_readonly.c
index 2b09d882bd71ae58be1200bd813ef33c584dc8c9..7919dbc78bf7b0a2dda48a0ad5c62461c4beb320 100644
(file)
--- 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;