git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0d82ac5
)
Ensure we use the same mid for the secondary trans requests, W2K3
author
Jeremy Allison
<jra@samba.org>
Mon, 1 Dec 2003 03:24:50 +0000
(
03:24
+0000)
committer
Jeremy Allison
<jra@samba.org>
Mon, 1 Dec 2003 03:24:50 +0000
(
03:24
+0000)
does this.
Jeremy.
source/libsmb/clitrans.c
patch
|
blob
|
history
diff --git
a/source/libsmb/clitrans.c
b/source/libsmb/clitrans.c
index 1602dcc6839f044f40ec4a81b1ee13acf6ac6542..ae44ca1a779959f0c9e10fbd874d84e0b460a7a5 100644
(file)
--- a/
source/libsmb/clitrans.c
+++ b/
source/libsmb/clitrans.c
@@
-143,6
+143,9
@@
BOOL cli_send_trans(struct cli_state *cli, int trans,
if (!cli_send_smb(cli)) {
return False;
}
+
+ /* Ensure we use the same mid for the secondaries. */
+ cli->mid = mid;
tot_data += this_ldata;
tot_param += this_lparam;
@@
-446,6
+449,9
@@
BOOL cli_send_nt_trans(struct cli_state *cli,
return False;
}
+ /* Ensure we use the same mid for the secondaries. */
+ cli->mid = mid;
+
tot_data += this_ldata;
tot_param += this_lparam;
}