diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/libsmb/clitrans.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/libsmb/clitrans.c b/source/libsmb/clitrans.c index 1602dcc6839..ae44ca1a779 100644 --- 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; } |