mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-04 12:11:54 -07:00
more clippy appeasement
This commit is contained in:
+7
-7
@@ -144,13 +144,13 @@ async fn pcapify(qmdl_path: &PathBuf) {
|
||||
.await
|
||||
.expect("failed to get message")
|
||||
{
|
||||
if let Ok(msg) = maybe_message {
|
||||
if let Ok(Some((timestamp, parsed))) = gsmtap_parser::parse(msg) {
|
||||
pcap_writer
|
||||
.write_gsmtap_message(parsed, timestamp, None)
|
||||
.await
|
||||
.expect("failed to write");
|
||||
}
|
||||
if let Ok(msg) = maybe_message
|
||||
&& let Ok(Some((timestamp, parsed))) = gsmtap_parser::parse(msg)
|
||||
{
|
||||
pcap_writer
|
||||
.write_gsmtap_message(parsed, timestamp, None)
|
||||
.await
|
||||
.expect("failed to write");
|
||||
}
|
||||
}
|
||||
info!("wrote pcap to {:?}", &pcap_path);
|
||||
|
||||
Reference in New Issue
Block a user