mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
Fix for bug #771. Fix packet length for browse list reply.
Jeremy. (This used to be commit dfea28a7731a0625e37ac43658f21b25e2fcce21)
This commit is contained in:
parent
7b64564fbe
commit
0c94d59205
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user