diff --git a/src/transport/connection.rs b/src/transport/connection.rs index 88c0d38..1d84ce2 100644 --- a/src/transport/connection.rs +++ b/src/transport/connection.rs @@ -352,9 +352,7 @@ impl SipConnection { _ => received.host.to_string(), }; *via = typed_via - .with_param(Param::Received(rsip::param::Received::new( - received_str, - ))) + .with_param(Param::Received(rsip::param::Received::new(received_str))) .with_param(Param::Other( rsip::param::OtherParam::new("rport"), Some(rsip::param::OtherParamValue::new(addr.port().to_string())),