From a7ac103a2040a304f28b41870f85d0db20a9a388 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Mon, 4 Jul 2011 21:38:50 +0200 Subject: [PATCH] typos --- README.markdown | 3 ++- client.go | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index 085a05fb..8e8f12d1 100644 --- a/README.markdown +++ b/README.markdown @@ -3,7 +3,8 @@ Completely usable DNS library. Most widely used Resource Records are supported. DNSSEC types too. EDNS0 is (see edns.go), UDP/TCP queries, TSIG, AXFR (and IXFR probably) -too. Both client and server side programming is supported. +too. Both client and server side programming is supported. Asynchronous +client queries are also supported. Sample programs can be found in the `_examples` directory. They can be build with: `make examples` (after the dns package has been installed) diff --git a/client.go b/client.go index 6793e454..18770965 100644 --- a/client.go +++ b/client.go @@ -179,7 +179,7 @@ func (w *reply) Write(m *Msg) { w.Client().ChannelReply <- []*Msg{w.req, m} } -// Do performs an async query. The result is returned on the +// Do performs an asynchronous query. The result is returned on the // channel set in the c. func (c *Client) Do(m *Msg, a string) { if c.ChannelQuery == nil { @@ -189,7 +189,7 @@ func (c *Client) Do(m *Msg, a string) { } } -// Perform an synchronize query. Send the message m to the address +// Perform an synchronous query. Send the message m to the address // contained in a func (c *Client) Exchange(m *Msg, a string) *Msg { w := new(reply)