Move to the correct place

This commit is contained in:
Miek Gieben 2012-02-05 11:20:04 +01:00
parent fbe59ce48e
commit cb4d52c110
2 changed files with 11 additions and 11 deletions

View File

@ -127,7 +127,7 @@ func setNS(h RR_Header, c chan lex, o, f string) (RR, *ParseError) {
if !ok {
return nil, &ParseError{f, "bad NS Ns", l}
}
if rr.Ns[ld-1]!= '.' {
if rr.Ns[ld-1] != '.' {
rr.Ns += o
}
return rr, nil
@ -193,7 +193,7 @@ func setSOA(h RR_Header, c chan lex, o, f string) (RR, *ParseError) {
if !ok {
return nil, &ParseError{f, "bad SOA rname", l}
}
if rr.Mbox[ld-1]!='.' {
if rr.Mbox[ld-1] != '.' {
rr.Mbox += o
}
<-c // _BLANK