git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5b6ad7
)
Fixed bug with NT and large directories.
author
Samba Release Account
<samba-bugs@samba.org>
Mon, 3 Feb 1997 19:40:15 +0000
(19:40 +0000)
committer
Samba Release Account
<samba-bugs@samba.org>
Mon, 3 Feb 1997 19:40:15 +0000
(19:40 +0000)
jra@cygnus.com
source/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source/smbd/trans2.c
b/source/smbd/trans2.c
index 94c4f26359eb333323eba114b983cc0c5e325cb9..2df28e926453e9e676d18c03408bdcd9f4965a29 100644
(file)
--- a/
source/smbd/trans2.c
+++ b/
source/smbd/trans2.c
@@
-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);