Really minor tweak
Forgot to change back a value while testing error handling to avoid crashing server on user disconnect
This commit is contained in:
parent
544369cb9f
commit
cd009e8ee6
|
@ -59,8 +59,8 @@ func server(cmd *cobra.Command) {
|
|||
cobra.CheckErr(err)
|
||||
fmt.Printf("Listening on port %v...\n", lport)
|
||||
for {
|
||||
conn, _ := ln.Accept()
|
||||
//cobra.CheckErr(err)
|
||||
conn, err := ln.Accept()
|
||||
cobra.CheckErr(err)
|
||||
go handleConn(conn)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue