mirror of
https://github.com/miekg/dns.git
synced 2025-12-16 17:21:17 +01:00
Some more todo added
This commit is contained in:
parent
0509df509e
commit
95747ee8d1
@ -217,6 +217,7 @@ func (c *Client) ExchangeBuffer(inbuf []byte, a string, outbuf []byte) (n int, e
|
|||||||
if n, err = w.writeClient(inbuf); err != nil {
|
if n, err = w.writeClient(inbuf); err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
|
//Why cant we set the buf here?? TODO(MG)
|
||||||
if n, err = w.readClient(outbuf); err != nil {
|
if n, err = w.readClient(outbuf); err != nil {
|
||||||
return n, err
|
return n, err
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user