if let Some(ref mut bind) = self.bind {
let mut uuid_internal_id = 0;
for r in back.ctxitems.iter() {
- for mut uuid in bind.uuid_list.iter_mut() {
+ for uuid in bind.uuid_list.iter_mut() {
if uuid.internal_id == uuid_internal_id {
uuid.result = r.ack_result;
if uuid.result != 0 {
fn parse_record(
&mut self, mut input: &[u8], resp: bool, pstate: *mut std::os::raw::c_void,
) -> AppLayerResult {
- let (mut hdr, ohdr) = if !resp {
+ let (hdr, ohdr) = if !resp {
(&mut self.transaction.cli_hdr, &self.transaction.srv_hdr)
} else {
(&mut self.transaction.srv_hdr, &self.transaction.cli_hdr)
fn parse_banner(
&mut self, input: &[u8], resp: bool, pstate: *mut std::os::raw::c_void,
) -> AppLayerResult {
- let mut hdr = if !resp {
+ let hdr = if !resp {
&mut self.transaction.cli_hdr
} else {
&mut self.transaction.srv_hdr