diff options
author | Jeremy Allison <jra@samba.org> | 2012-07-09 16:08:01 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-07-09 16:20:45 -0700 |
commit | 3a705e5f3d0843e3765852e26661aeee5ebdfd79 (patch) | |
tree | 485c5ab17e8d7a5ffa771da35c0da98ecfef442b /source4/torture/rpc/spoolss_notify.c | |
parent | 1144b0dc043c42e4845316a4ccc3bdd49bfda822 (diff) | |
download | samba-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 'source4/torture/rpc/spoolss_notify.c')
0 files changed, 0 insertions, 0 deletions