remove debugging code

This commit is contained in:
Miek Gieben 2010-12-23 17:13:10 +01:00
parent d1e5b182a7
commit 7d0a9dd4ca
1 changed files with 0 additions and 1 deletions

1
msg.go
View File

@ -192,7 +192,6 @@ func packStructValue(val *reflect.StructValue, msg []byte, off int) (off1 int, o
return len(msg), false
case "OPT": // edns
for j := 0; j < val.Field(i).(*reflect.SliceValue).Len(); j++ {
println(j) // TODO MG
element := val.Field(i).(*reflect.SliceValue).Elem(j)
code := uint16(element.(*reflect.StructValue).Field(0).(*reflect.UintValue).Get())
data := string(element.(*reflect.StructValue).Field(1).(*reflect.StringValue).Get())