summaryrefslogtreecommitdiffstats
path: root/source/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-04 03:21:21 +0000
committerJeremy Allison <jra@samba.org>2002-12-04 03:21:21 +0000
commitf9cef6f42193b3ae70569e2c7584f088fb53a51c (patch)
tree64def04e82cfdbbd5be27006952e1b0f4c3153c7 /source/smbd
parent379e719e983fb71f94cd2b691f8b194c109496c3 (diff)
downloadsamba-f9cef6f42193b3ae70569e2c7584f088fb53a51c.tar.gz
samba-f9cef6f42193b3ae70569e2c7584f088fb53a51c.tar.xz
samba-f9cef6f42193b3ae70569e2c7584f088fb53a51c.zip
Missed the removal of the incorrect ifdef.
Jeremy.
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/trans2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c
index 33828c32bd6..cd15a8f6fd1 100644
--- a/source/smbd/trans2.c
+++ b/source/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);