summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-08-02 17:44:02 +0000
committerJim McDonough <jmcd@samba.org>2002-08-02 17:44:02 +0000
commit60078160dec6b6c8b1b87229fa66d617f340aeca (patch)
tree961b2903fcc5984af06818ce644de570ec0120a3 /source3/nmbd
parent4d98ca211ee919b749a426f432e5839e3a6d26ce (diff)
downloadsamba-60078160dec6b6c8b1b87229fa66d617f340aeca.tar.gz
samba-60078160dec6b6c8b1b87229fa66d617f340aeca.tar.bz2
samba-60078160dec6b6c8b1b87229fa66d617f340aeca.zip
Fix length on mailslots. Looks like it should have been 0x17, not decimal 17.
(This used to be commit 8e906a948196be7d630a9b20f3c3d2cbafd545f1)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_packets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c
index 105fb60e99..d252b98ed6 100644
--- a/source3/nmbd/nmbd_packets.c
+++ b/source3/nmbd/nmbd_packets.c
@@ -1969,7 +1969,7 @@ BOOL send_mailslot(BOOL unique, char *mailslot,char *buf,int len,
/* Setup the smb part. */
ptr -= 4; /* XXX Ugliness because of handling of tcp SMB length. */
memcpy(tmp,ptr,4);
- set_message(ptr,17,17 + len,True);
+ set_message(ptr,17,23 + len,True);
memcpy(ptr,tmp,4);
SCVAL(ptr,smb_com,SMBtrans);