Skip to content

Commit

Permalink
fixed error in merge
Browse files Browse the repository at this point in the history
  • Loading branch information
epi052 committed Oct 10, 2022
1 parent d8f8042 commit ed31cc0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/fuzzers/async_fuzzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ where
tracing::info!(
"[ID: {}] stopping fuzzing due to AddToCorpus[StopFuzzing] action",
self.request_id
);
);
return Err(FeroxFuzzError::FuzzingStopped);
}
FlowControl::Discard => {
Expand All @@ -216,7 +216,7 @@ where
tracing::info!(
"[ID: {}] stopping fuzzing due to StopFuzzing action",
self.request_id
);
);
return Err(FeroxFuzzError::FuzzingStopped);
}
_ => {
Expand Down Expand Up @@ -319,7 +319,7 @@ where
return;
}

let request_id = response.unwrap().id(); // only used for logging
let request_id = response.as_ref().unwrap().id(); // only used for logging

// response cannot be Err after this point, so is safe to unwrap
c_observers.call_post_send_hooks(response.unwrap());
Expand Down Expand Up @@ -351,7 +351,7 @@ where
tracing::info!(
"[ID: {}] stopping fuzzing due to AddToCorpus[StopFuzzing] action",
request_id
);
);
c_should_quit.store(true, Ordering::Relaxed);
}
}
Expand Down

0 comments on commit ed31cc0

Please sign in to comment.