summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-05-12 01:43:59 +0000
committerAlexander Bokovoy <ab@samba.org>2003-05-12 01:43:59 +0000
commite102cdf58eb19e3d375f2ef02c0f7a4f340f4970 (patch)
tree8faf53784478340372561ac64506bbdcc97c6591 /source3/smbd
parente8573c8fa928602fd979d5ac45c692e7464f0aad (diff)
downloadsamba-e102cdf58eb19e3d375f2ef02c0f7a4f340f4970.tar.gz
samba-e102cdf58eb19e3d375f2ef02c0f7a4f340f4970.tar.bz2
samba-e102cdf58eb19e3d375f2ef02c0f7a4f340f4970.zip
Small fix for HAVE_SYS_QUOTAS usage, spotted by build farm
(This used to be commit ee5fa840686a1d9789688e7c0f1c3ca8d0175e94)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index ea53059279..771e2ff444 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1371,7 +1371,12 @@ static int call_trans2qfsinfo(connection_struct *conn, char *inbuf, char *outbuf
SIVAL(pdata,0,FILE_CASE_PRESERVED_NAMES|FILE_CASE_SENSITIVE_SEARCH|
(lp_nt_acl_support(SNUM(conn)) ? FILE_PERSISTENT_ACLS : 0)|
- (HAVE_SYS_QUOTAS ? FILE_VOLUME_QUOTAS: 0)); /* FS ATTRIBUTES */
+#if defined(HAVE_SYS_QUOTAS)
+ FILE_VOLUME_QUOTAS
+#else
+ 0
+#if
+ ); /* FS ATTRIBUTES */
SIVAL(pdata,4,255); /* Max filename component length */
/* NOTE! the fstype must *not* be null terminated or win98 won't recognise it