Move to the correct place
This commit is contained in:
parent
fbe59ce48e
commit
cb4d52c110
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue