summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index ebce57e..9ccc45b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -28,9 +28,9 @@ async fn log<B>(mut req: Request<B>, next: Next<B>) -> Response where
return next.run(req).await
};
- console::log(info.ip().clone(), req.method().clone(), req.uri().clone(), None, None).await;
+ console::log(info.ip(), req.method().clone(), req.uri().clone(), None, None).await;
- return next.run(req).await
+ next.run(req).await
}
async fn not_found() -> Response {