summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clitrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clitrans.c b/source3/libsmb/clitrans.c
index c566972b21..91fb6e6296 100644
--- a/source3/libsmb/clitrans.c
+++ b/source3/libsmb/clitrans.c
@@ -166,7 +166,7 @@ bool cli_receive_trans(struct cli_state *cli,int trans,
*data_len = *param_len = 0;
- mid = SVAL(cli->inbuf,smb_mid);
+ mid = SVAL(cli->outbuf,smb_mid);
if (!cli_receive_smb(cli)) {
cli_state_seqnum_remove(cli, mid);
@@ -487,7 +487,7 @@ bool cli_receive_nt_trans(struct cli_state *cli,
*data_len = *param_len = 0;
- mid = SVAL(cli->inbuf,smb_mid);
+ mid = SVAL(cli->outbuf,smb_mid);
if (!cli_receive_smb(cli)) {
cli_state_seqnum_remove(cli, mid);