diff --git a/dns.go b/dns.go index f0b785b0..0086866f 100644 --- a/dns.go +++ b/dns.go @@ -93,7 +93,7 @@ type Error struct { func (e *Error) Error() string { if e == nil { - return "" + return "dns: " } if e.Name == "" { return e.Err diff --git a/zscan.go b/zscan.go index 1a6b8732..44b46160 100644 --- a/zscan.go +++ b/zscan.go @@ -66,7 +66,6 @@ type ParseError struct { } func (e *ParseError) Error() (s string) { - // va := strconv.Itoa(e.lex.value) if e.file != "" { s = e.file + ": " }