1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-21 23:56:35 +00: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