mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-07-09 21:21:06 +03:00
Merge pull request #112 from mcroydon/refactor-socket
Updated listening message to use the actual host/port.
This commit is contained in:
commit
03b8ad0344
2
cmd.go
2
cmd.go
@ -106,7 +106,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
defer s.Close()
|
defer s.Close()
|
||||||
|
|
||||||
fmt.Printf("Listening for connections on %v\n", options.Bind)
|
fmt.Printf("Listening for connections on %v\n", s.Addr().String())
|
||||||
|
|
||||||
host := NewHost(s)
|
host := NewHost(s)
|
||||||
host.auth = &auth
|
host.auth = &auth
|
||||||
|
Loading…
x
Reference in New Issue
Block a user