From d2a064e3909cb5e03eebb17e6c213e03eb979321 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Fri, 16 Dec 2011 19:35:37 +0100 Subject: [PATCH] Update in the documentation --- client.go | 2 +- dns.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client.go b/client.go index a01ea618..a669747d 100644 --- a/client.go +++ b/client.go @@ -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 diff --git a/dns.go b/dns.go index 93eb6d81..d4f4733e 100644 --- a/dns.go +++ b/dns.go @@ -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.