summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_getgrnam.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-07-09 16:08:01 -0700
committerJeremy Allison <jra@samba.org>2012-07-09 16:20:45 -0700
commit3a705e5f3d0843e3765852e26661aeee5ebdfd79 (patch)
tree485c5ab17e8d7a5ffa771da35c0da98ecfef442b /source3/winbindd/winbindd_getgrnam.c
parent1144b0dc043c42e4845316a4ccc3bdd49bfda822 (diff)
downloadsamba-3a705e5f3d0843e3765852e26661aeee5ebdfd79.tar.gz
samba-3a705e5f3d0843e3765852e26661aeee5ebdfd79.tar.bz2
samba-3a705e5f3d0843e3765852e26661aeee5ebdfd79.zip
Simplify the logic in open_file().
Move the fstat call into the block which opens a file descriptor. Remove the stat() call in the stat-open case. We already failed the open if !file_existed.
Diffstat (limited to 'source3/winbindd/winbindd_getgrnam.c')
0 files changed, 0 insertions, 0 deletions