summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-04-12 21:46:22 +0000
committerJeremy Allison <jra@samba.org>2000-04-12 21:46:22 +0000
commit96b3bf3140a57c6adeaedd9f7ed427d207d47ee9 (patch)
tree8d1d726b2dcdb81a635e2be83c6d2248a31fe6ea /source3/smbd/reply.c
parent8316237e9ca83d1bd0cecdc63d7e47b44cf13181 (diff)
downloadsamba-96b3bf3140a57c6adeaedd9f7ed427d207d47ee9.tar.gz
samba-96b3bf3140a57c6adeaedd9f7ed427d207d47ee9.tar.bz2
samba-96b3bf3140a57c6adeaedd9f7ed427d207d47ee9.zip
Implmented mapping of lock offset/count from 64 bit MS ranges
to either 63 or 31 bit POSIX ranges. Code to get these locks not yet added. Jeremy. (This used to be commit 9c3b9146a3baff4b2e403ae8fac6c48df1b7e642)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 96149acaa1..b280b07f7c 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -4073,7 +4073,7 @@ SMB_BIG_UINT get_lock_offset( char *data, int data_offset, BOOL large_file_forma
}
offset = (SMB_BIG_UINT)IVAL(data,SMB_LARGE_LKOFF_OFFSET_LOW(data_offset));
-#endif /* LARGE_SMB_OFF_T */
+#endif /* HAVE_LONGLONG */
}
return offset;