_ => { (Vec::new(), false) },
};
let mut is_dcerpc = if is_pipe || (share_name.len() == 0 && !is_pipe) {
- match state.get_service_for_guid(&file_guid) {
- (_, x) => x,
- }
+ state.get_service_for_guid(&file_guid).1
} else {
false
};
_ => { (Vec::new(), false) },
};
let mut is_dcerpc = if is_pipe || (share_name.len() == 0 && !is_pipe) {
- match state.get_service_for_guid(wr.guid) {
- (_, x) => x,
- }
+ state.get_service_for_guid(wr.guid).1
} else {
false
};