Remove debugging code

This commit is contained in:
Miek Gieben 2011-09-11 00:32:00 +02:00
parent 313640276f
commit e4acc12f44
2 changed files with 0 additions and 4 deletions

View File

@ -195,9 +195,7 @@ func (w *reply) Write(m *Msg) {
// Do performs an asynchronous query. The result is returned on the
// QueryChan channel set in the Client c.
func (c *Client) Do(m *Msg, a string) {
println("send")
c.QueryChan <- &Request{Client: c, Addr: a, Request: m}
println("sent")
}
// ExchangeBuffer performs a synchronous query. It sends the buffer m to the

View File

@ -20,7 +20,6 @@ func TestClientSync(t *testing.T) {
}
func helloMiek(w RequestWriter, r *Msg) {
println("hello")
w.Send(r)
reply, _ := w.Receive()
w.Write(reply)
@ -34,7 +33,6 @@ func TestClientASync(t *testing.T) {
m.SetQuestion("miek.nl", TypeSOA)
c := NewClient()
println("Do")
c.Do(m, "85.223.71.124:53")
forever: