Skip to content

Commit

Permalink
fix(sip-core): resolve build & clippy failures
Browse files Browse the repository at this point in the history
  • Loading branch information
kbalt committed Jan 17, 2025
1 parent 5c14bbc commit f86cbe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/sip-core/src/transport/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ impl Transports {
let transport_param_matches = uri
.transport
.as_ref()
.map_or(true, |t| tp.matches_transport_param(t));
.is_none_or(|t| tp.matches_transport_param(t));

addr_familiy_supported
&& transport_name_matches
Expand Down
2 changes: 1 addition & 1 deletion crates/sip-core/src/transport/stun_user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl Transports {
let tsx_id = TransactionId::random();

let mut msg = MessageBuilder::new(Class::Request, Method::Binding, tsx_id);
msg.add_attr(&Software::new("ezk")).unwrap();
msg.add_attr(Software::new("ezk"));
let bytes = msg.finish();

let request = stun::Request {
Expand Down

0 comments on commit f86cbe7

Please sign in to comment.