diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-04 03:21:21 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-04 03:21:21 +0000 |
commit | 821e3d19f0d0dc09c903cab991dc79eb04a5ec95 (patch) | |
tree | 87f254977d8c1a04d77c87e31fb49f49329c76d7 | |
parent | ce4628c199f8e8ac84aa7f2afe2de1d9d23e6fab (diff) | |
download | samba-821e3d19f0d0dc09c903cab991dc79eb04a5ec95.tar.gz samba-821e3d19f0d0dc09c903cab991dc79eb04a5ec95.tar.bz2 samba-821e3d19f0d0dc09c903cab991dc79eb04a5ec95.zip |
Missed the removal of the incorrect ifdef.
Jeremy.
(This used to be commit f9cef6f42193b3ae70569e2c7584f088fb53a51c)
-rw-r--r-- | source3/smbd/trans2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 33828c32bd..cd15a8f6fd 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -36,9 +36,7 @@ extern uint32 global_client_caps; SMB_BIG_UINT get_allocation_size(files_struct *fsp, SMB_STRUCT_STAT *sbuf) { SMB_BIG_UINT ret; -#if defined(HAVE_STAT_ST_BLKSIZE) && defined(HAVE_STAT_ST_BLOCKS) - ret = (SMB_BIG_UINT)sbuf->st_blksize * (SMB_BIG_UINT)sbuf->st_blocks; -#elif defined(HAVE_STAT_ST_BLOCKS) && defined(STAT_ST_BLOCKSIZE) +#if defined(HAVE_STAT_ST_BLOCKS) && defined(STAT_ST_BLOCKSIZE) ret = (SMB_BIG_UINT)STAT_ST_BLOCKSIZE * (SMB_BIG_UINT)sbuf->st_blocks; #else ret = (SMB_BIG_UINT)get_file_size(*sbuf); |