diff options
author | Jim McDonough <jmcd@samba.org> | 2002-08-02 17:44:02 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-08-02 17:44:02 +0000 |
commit | 8e906a948196be7d630a9b20f3c3d2cbafd545f1 (patch) | |
tree | 4f61c450541e3ac4a81f1b01757e481482acb6bd | |
parent | d234f04a5f3ecd4debf66ce80e76f6b9aedaed6c (diff) | |
download | samba-8e906a948196be7d630a9b20f3c3d2cbafd545f1.tar.gz samba-8e906a948196be7d630a9b20f3c3d2cbafd545f1.tar.xz samba-8e906a948196be7d630a9b20f3c3d2cbafd545f1.zip |
Fix length on mailslots. Looks like it should have been 0x17, not decimal 17.
-rw-r--r-- | source/nmbd/nmbd_packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_packets.c b/source/nmbd/nmbd_packets.c index 105fb60e99c..d252b98ed69 100644 --- a/source/nmbd/nmbd_packets.c +++ b/source/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); |