1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

Fix for bug #771. Fix packet length for browse list reply.

Jeremy.
(This used to be commit d085c94dacffbe8199e83315340e4f60d1f0b9a5)
This commit is contained in:
Jeremy Allison 2003-11-05 00:12:49 +00:00
parent f46e42c69d
commit 536f72913e

View File

@ -1835,7 +1835,7 @@ BOOL send_mailslot(BOOL unique, const char *mailslot,char *buf, size_t len,
/* Setup the smb part. */
ptr -= 4; /* XXX Ugliness because of handling of tcp SMB length. */
memcpy(tmp,ptr,4);
set_message(ptr,17,23 + len,True);
set_message(ptr,17,strlen(mailslot) + 1 + len,True);
memcpy(ptr,tmp,4);
SCVAL(ptr,smb_com,SMBtrans);