1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 01:32:57 +01:00

Fix server startup log message

This commit is contained in:
0x1793d1 2018-08-24 23:21:32 +02:00
parent 48ef18ffa9
commit 471a3e9806

View File

@ -217,7 +217,7 @@ impl Server {
// start accept thread // start accept thread
for sock in &self.sockets { for sock in &self.sockets {
for s in sock.iter() { for s in sock.iter() {
info!("Starting server on http://{:?}", s.1.local_addr().ok()); info!("Starting server on http://{}", s.1.local_addr().unwrap());
} }
} }
let rx = self let rx = self