fix linter

This commit is contained in:
Lucas Clemente
2016-06-03 21:03:46 +02:00
parent cc3a94f6b4
commit 0f941214b4

View File

@@ -79,6 +79,7 @@ func (s *Server) ListenAndServe() error {
return s.Serve(conn)
}
// Serve on an existing UDP connection.
func (s *Server) Serve(conn *net.UDPConn) error {
s.connMutex.Lock()
s.conn = conn