summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-09 20:34:12 +0000
committerJeremy Allison <jra@samba.org>2001-11-09 20:34:12 +0000
commit67f5bea4849dd51df0b9467d033fd000a129ce3f (patch)
tree7a0d0115988c0a3aeb177a2f265b006f961a2067
parent395aa946cd4fb9d5e07dd2fee418045a8064dfab (diff)
downloadsamba-67f5bea4849dd51df0b9467d033fd000a129ce3f.tar.gz
samba-67f5bea4849dd51df0b9467d033fd000a129ce3f.tar.bz2
samba-67f5bea4849dd51df0b9467d033fd000a129ce3f.zip
Fixup __LPID -> _LPID.
Jeremy. (This used to be commit ab607cdf153d9187fe50af3377ece5a9fafde1b1)
-rw-r--r--source3/include/smb_macros.h2
-rw-r--r--source3/smbd/reply.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index 9978a0faa0..42d66b676a 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -133,7 +133,7 @@
#define SMB_LPID_OFFSET(indx) (10 * (indx))
#define SMB_LKOFF_OFFSET(indx) ( 2 + (10 * (indx)))
#define SMB_LKLEN_OFFSET(indx) ( 6 + (10 * (indx)))
-#define SMB_LARGE__LPID_OFFSET(indx) (20 * (indx))
+#define SMB_LARGE_LPID_OFFSET(indx) (20 * (indx))
#define SMB_LARGE_LKOFF_OFFSET_HIGH(indx) (4 + (20 * (indx)))
#define SMB_LARGE_LKOFF_OFFSET_LOW(indx) (8 + (20 * (indx)))
#define SMB_LARGE_LKLEN_OFFSET_HIGH(indx) (12 + (20 * (indx)))
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 98898a6551..72e75281c6 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -3513,7 +3513,7 @@ uint16 get_lock_pid( char *data, int data_offset, BOOL large_file_format)
if(!large_file_format)
return SVAL(data,SMB_LPID_OFFSET(data_offset));
else
- return SVAL(data,SMB_LARGE__LPID_OFFSET(data_offset));
+ return SVAL(data,SMB_LARGE_LPID_OFFSET(data_offset));
}
/****************************************************************************