diff --git a/livetwo/src/rtspclient.rs b/livetwo/src/rtspclient.rs index ea6181a..6c820ea 100644 --- a/livetwo/src/rtspclient.rs +++ b/livetwo/src/rtspclient.rs @@ -454,10 +454,7 @@ fn generate_digest_response( hasher.update(format!( "{}:{}:{}", format_args!("{:x}", { - let hasher = Md5::new_with_prefix(format!( - "{}:{}:{}", - username, realm, password - )); + let hasher = Md5::new_with_prefix(format!("{}:{}:{}", username, realm, password)); hasher.finalize() }), nonce,