Some cleanups

This commit is contained in:
Nils Andreas Svee committed 2022-09-28 01:41:51 +02:00
1 parent f20ff59e78
commit cf14fcd5f8
5 files changed
+6 -15

No files matched your search

+1 -2
View File
@@ -83,7 +83,7 @@ pub trait PingListener {
continue;
}
let reply = match self.parse_packet(id, addr, buf, size) {
let reply = match self.parse_packet(id, addr, buf) {
Ok(val) => val,
Err(e) => {
error!(
@@ -104,7 +104,6 @@ pub trait PingListener {
id: u16,
reflector: IpAddr,
buf: &[u8],
len: usize,
) -> Result<PingReply, Box<dyn Error>>;
}