mirror of
https://github.com/samba-team/samba.git
synced 2025-07-31 20:22:15 +03:00
s3:libsmb: let cli_smb_req_mid() return the mid set by cli_smb_req_set_mid()
metze
This commit is contained in:
@ -301,6 +301,11 @@ uint16_t cli_smb_req_mid(struct tevent_req *req)
|
||||
{
|
||||
struct cli_smb_state *state = tevent_req_data(
|
||||
req, struct cli_smb_state);
|
||||
|
||||
if (state->mid != 0) {
|
||||
return state->mid;
|
||||
}
|
||||
|
||||
return SVAL(state->header, smb_mid);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user