s3:smbd: remove silly (SMB_OFF_T_BITS == 64) checks
authorStefan Metzmacher <metze@samba.org>
Tue, 19 Mar 2013 12:24:46 +0000 (13:24 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Mar 2013 08:30:19 +0000 (09:30 +0100)
configure will abort if sizeof(off_t) is not 8.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/negprot.c

index e33350c932b2c106b274472899d4b2479efa1079..cfe098351f2b404044cfbc4f95e61416181d2663 100644 (file)
@@ -284,11 +284,10 @@ static void reply_nt1(struct smb_request *req, uint16 choice)
                capabilities |= CAP_UNIX;
        }
 
-       if (lp_large_readwrite() && (SMB_OFF_T_BITS == 64))
+       if (lp_large_readwrite())
                capabilities |= CAP_LARGE_READX|CAP_LARGE_WRITEX|CAP_W2K_SMBS;
 
-       if (SMB_OFF_T_BITS == 64)
-               capabilities |= CAP_LARGE_FILES;
+       capabilities |= CAP_LARGE_FILES;
 
        if (lp_readraw() && lp_writeraw())
                capabilities |= CAP_RAW_MODE;