remove dead code

This commit is contained in:
Miek Gieben 2013-01-28 20:40:41 +01:00
parent 23483f7959
commit 73b9284ec7
1 changed files with 1 additions and 8 deletions

View File

@ -63,13 +63,6 @@ func (c *Client) ExchangeConn(m *Msg, s net.Conn) (r *Msg, rtt time.Duration, er
return r, w.rtt, err
}
func (w *reply) RemoteAddr() net.Addr {
if w.conn != nil {
return w.conn.RemoteAddr()
}
return nil
}
// dial connects to the address addr for the network set in c.Net
func (w *reply) dial() (err error) {
var conn net.Conn