Skip to content

Commit

Permalink
removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
tidwall committed Nov 12, 2017
1 parent 08622c1 commit d6385cd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions evio_loop.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,6 @@ func serve(events Events, lns []*listener) error {
}
in = append([]byte{}, packet[:n]...)
}
// if c.laddr == nil {
// // we need the local address and to open the socket
// lsa, _ = syscall.Getsockname(c.fd)
// c.laddr = sock
// }
if events.Data != nil {
unlock()
out, c.action = events.Data(c.id, in)
Expand Down

0 comments on commit d6385cd

Please sign in to comment.