diff --git a/Cargo.lock b/Cargo.lock index 951ee7c..8f6056e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -719,9 +719,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.43" +version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" +checksum = "7bd7356a8122b6c4a24a82b278680c73357984ca2fc79a0f9fa6dea7dced7c58" dependencies = [ "unicode-ident", ] @@ -943,18 +943,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.35" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c53f98874615aea268107765aa1ed8f6116782501d18e53d08b471733bea6c85" +checksum = "0a99cb8c4b9a8ef0e7907cd3b617cc8dc04d571c4e73c8ae403d80ac160bb122" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.35" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8b463991b4eab2d801e724172285ec4195c650e8ec79b149e6c2a8e6dd3f783" +checksum = "3a891860d3c8d66fec8e73ddb3765f90082374dbaaa833407b904a94f1a7eb43" dependencies = [ "proc-macro2", "quote", diff --git a/src/openhome/rendercontrol.rs b/src/openhome/rendercontrol.rs index a125e07..3f1bc7a 100644 --- a/src/openhome/rendercontrol.rs +++ b/src/openhome/rendercontrol.rs @@ -319,8 +319,7 @@ impl Renderer { let xmlbody = match strfmt(OH_INSERT_PL_TEMPLATE, fmt_vars) { Ok(s) => s, Err(e) => { - let errmsg = format!("oh_play: error {e} formatting oh playlist xml"); - log(errmsg); + log(format!("oh_play: error {e} formatting oh playlist xml")); return Err(BAD_TEMPL); } }; @@ -360,8 +359,7 @@ impl Renderer { let xmlbody = match strfmt(AV_SET_TRANSPORT_URI_TEMPLATE, fmt_vars) { Ok(s) => s, Err(e) => { - let errmsg = format!("av_play: error {e} formatting set transport uri"); - log(errmsg); + log(format!("av_play: error {e} formatting set transport uri")); return Err(BAD_TEMPL); } };