Small fix in docs for transfer Out

This commit is contained in:
Miek Gieben 2016-03-28 15:45:23 +01:00
parent f8964231a8
commit b4a9a147b2
1 changed files with 2 additions and 2 deletions

4
xfr.go
View File

@ -162,8 +162,8 @@ func (t *Transfer) inIxfr(id uint16, c chan *Envelope) {
//
// ch := make(chan *dns.Envelope)
// tr := new(dns.Transfer)
// tr.Out(w, r, ch)
// c <- &dns.Envelope{RR: []dns.RR{soa, rr1, rr2, rr3, soa}}
// go tr.Out(w, r, ch)
// ch <- &dns.Envelope{RR: []dns.RR{soa, rr1, rr2, rr3, soa}}
// close(ch)
// w.Hijack()
// // w.Close() // Client closes connection