Minor comment cleanups
This commit is contained in:
parent
99b46e8767
commit
f902444b64
1 changed files with 1 additions and 2 deletions
3
sshd.go
3
sshd.go
|
@ -105,7 +105,6 @@ func main() {
|
|||
}
|
||||
|
||||
go func() {
|
||||
// TODO: Run this in goroutine and have the rest block on it
|
||||
sshConn, chans, reqs, err := ssh.NewServerConn(tcpConn, config)
|
||||
if err != nil {
|
||||
log.Printf("Failed to handshake (%s)", err)
|
||||
|
@ -144,7 +143,7 @@ func main() {
|
|||
|
||||
go handleRequest(&client, reqs)
|
||||
|
||||
// Accept all channels (TODO: Pass client)
|
||||
// Accept all channels
|
||||
go handleChannels(&client, chans)
|
||||
}()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue