Update in the documentation

This commit is contained in:
Miek Gieben 2011-12-16 19:35:37 +01:00
parent 3500e0f4aa
commit d2a064e390
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ func (c *Client) Do(m *Msg, a string) {
}
// ExchangeBuffer performs a synchronous query. It sends the buffer m to the
// address (net.Addr?) contained in a
// address contained in a.
func (c *Client) ExchangeBuffer(inbuf []byte, a string, outbuf []byte) (n int, err error) {
w := new(reply)
w.client = c

2
dns.go
View File

@ -154,7 +154,7 @@ func (s RRset) Ok() bool {
type Exchange struct {
Request *Msg // The question sent.
Reply *Msg // The answer to the question that was sent.
Error error // If something when wrong, this contains the error.
Error error // If something went wrong, this contains the error.
}
// DNS resource records.