summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-07-02 22:23:56 +0000
committerJeremy Allison <jra@samba.org>1998-07-02 22:23:56 +0000
commit6491a956ef0b6a54b28887521f75e2f54f18a6d2 (patch)
treeba8a505d9424474dc08f05075e3a766282f63df8 /source3/smbd
parent3daefed54e221b397f1eff43d2a83a61c4500fb1 (diff)
downloadsamba-6491a956ef0b6a54b28887521f75e2f54f18a6d2.tar.gz
samba-6491a956ef0b6a54b28887521f75e2f54f18a6d2.tar.bz2
samba-6491a956ef0b6a54b28887521f75e2f54f18a6d2.zip
nttrans.c: More NT SMB stuff.
shmem_sysv.c: Fix for shared memory problems on several systems, Second and subsequent use of shmget should use zero as the size. Fix from Veselin Terzic <vterzic@systems.DHL.COM> Jeremy. (This used to be commit 1cd94b24592ca31ffae671acfd83b0d42b212cab)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index f6b5704681..5327502fd3 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -106,7 +106,7 @@ int reply_ntcreate_and_X(char *inbuf,char *outbuf,int length,int bufsize)
((uint32)sizeof(fname)-1));
int smb_ofun;
int smb_open_mode;
- int smb_attr = file_attributes & SAMBA_ATTRIBUTES_MASK;
+ int smb_attr = (file_attributes & SAMBA_ATTRIBUTES_MASK);
/* Breakout the oplock request bits so we can set the
reply bits separately. */
int oplock_request = flags & (REQUEST_OPLOCK|REQUEST_BATCH_OPLOCK);
@@ -334,7 +334,7 @@ static int call_nt_transact_create(char *inbuf, char *outbuf, int bufsize, int c
((uint32)sizeof(fname)-1));
int smb_ofun;
int smb_open_mode;
- int smb_attr = file_attributes & SAMBA_ATTRIBUTES_MASK;
+ int smb_attr = (file_attributes & SAMBA_ATTRIBUTES_MASK);
}
/****************************************************************************