This commit is contained in:
Miek Gieben 2014-04-23 20:54:17 +01:00
parent b0474155fb
commit 2dc3e40828
1 changed files with 2 additions and 0 deletions

View File

@ -435,6 +435,8 @@ func (rr *TXT) copy() RR {
func (rr *TXT) String() string { return rr.Hdr.String() + sprintTxt(rr.Txt) }
// TODO(miek): this needs to be public I think, but with another name
// DomainNameToString ?
func sprintDomain(s string) string {
src := []byte(s)
dst := make([]byte, 0, len(src))