1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

Fixed bug with NT and large directories.

jra@cygnus.com
(This used to be commit f0aa5e3ff0)
This commit is contained in:
Samba Release Account 1997-02-03 19:40:15 +00:00
parent 98bf10bc5d
commit 30ae26ba42

View File

@ -79,8 +79,8 @@ static int send_trans2_replies(char *outbuf, int bufsize, char *params,
{
/* Calculate whether we will totally or partially fill this packet */
total_sent_thistime = params_to_send + data_to_send + alignment_offset;
/* We can never send more than maxxmit */
total_sent_thistime = MIN(total_sent_thistime, maxxmit);
/* We can never send more than useable_space */
total_sent_thistime = MIN(total_sent_thistime, useable_space);
set_message(outbuf, 10, total_sent_thistime, True);