fix some owned args

This commit is contained in:
Jun Kurihara 2022-07-09 18:16:48 +09:00
commit b1ef8c1079
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
3 changed files with 6 additions and 6 deletions

View file

@ -5,7 +5,7 @@ use std::net::SocketAddr;
////////////////////////////////////////////////////
// Functions of utils for request messages
pub(super) fn log_request_msg<B>(req: &Request<B>, client_addr: SocketAddr) -> String {
pub(super) fn log_request_msg<B>(req: &Request<B>, client_addr: &SocketAddr) -> String {
let server_name = req.headers().get(header::HOST).map_or_else(
|| {
req