1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 17:52:56 +01:00

Merge pull request #482 from 0x1793d1/master

Fix server startup log message
This commit is contained in:
Nikolay Kim 2018-08-24 20:53:45 -07:00 committed by GitHub
commit d39dcc58cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,7 +217,7 @@ impl Server {
// start accept thread
for sock in &self.sockets {
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