Remove debugging stuff

This commit is contained in:
Miek Gieben 2012-02-13 16:18:42 +01:00
parent c30821fece
commit d235bf4c2e
2 changed files with 0 additions and 3 deletions

2
msg.go
View File

@ -651,14 +651,12 @@ func unpackStructValue(val reflect.Value, msg []byte, off int) (off1 int, ok boo
return lenmsg, false
}
txt = append(txt, string(msg[off+1:off+l]))
println("ADDING", string(msg[off+1:off+l]))
off += l+1
if off < rdlength {
// More
goto Txts
}
fv.Set(reflect.ValueOf(txt))
println("SETING", len(txt))
case "opt": // edns0
if off+2 > lenmsg {
// This is an EDNS0 (OPT Record) with no rdata

View File

@ -380,7 +380,6 @@ func (rr *RR_TXT) Header() *RR_Header {
func (rr *RR_TXT) String() string {
s := rr.Hdr.String()
for i, s1 := range rr.Txt {
println("HALLO")
if i > 0 {
s += " " + "\"" + s1 + "\""
} else {