From 67f5bea4849dd51df0b9467d033fd000a129ce3f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 9 Nov 2001 20:34:12 +0000 Subject: Fixup __LPID -> _LPID. Jeremy. (This used to be commit ab607cdf153d9187fe50af3377ece5a9fafde1b1) --- source3/include/smb_macros.h | 2 +- source3/smbd/reply.c | 2 +- 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)); } /**************************************************************************** -- cgit