diff options
author | Jeremy Allison <jra@samba.org> | 2012-12-20 11:52:27 -0800 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-01-09 15:28:31 +1100 |
commit | 45845f5ba13ad4f5f12c22596ac5905a6cebec31 (patch) | |
tree | b7d5eb08dc193e08846bc41f3ca0da5f3611eb3c /source3 | |
parent | 390a812ccb9ba5dbc67296cc27e7aa56e6dd5ab3 (diff) | |
download | samba-45845f5ba13ad4f5f12c22596ac5905a6cebec31.tar.gz samba-45845f5ba13ad4f5f12c22596ac5905a6cebec31.tar.bz2 samba-45845f5ba13ad4f5f12c22596ac5905a6cebec31.zip |
Remove one set of enclosing {} braces, no longer needed.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/uid.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index 9361e490a3..9109f057ab 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -95,15 +95,13 @@ static bool check_user_ok(connection_struct *conn, bool admin_user; struct vuid_cache_entry *ent = NULL; - { - for (i=0; i<VUID_CACHE_SIZE; i++) { - ent = &conn->vuid_cache.array[i]; - if (ent->vuid == vuid) { - free_conn_session_info_if_unused(conn); - conn->session_info = ent->session_info; - conn->read_only = ent->read_only; - return(True); - } + for (i=0; i<VUID_CACHE_SIZE; i++) { + ent = &conn->vuid_cache.array[i]; + if (ent->vuid == vuid) { + free_conn_session_info_if_unused(conn); + conn->session_info = ent->session_info; + conn->read_only = ent->read_only; + return(True); } } |