Add a space

This commit is contained in:
Miek Gieben 2012-10-09 22:16:28 +02:00
parent ca8b17dda2
commit 19470ba22d
1 changed files with 1 additions and 1 deletions

2
dns.go
View File

@ -102,7 +102,7 @@ func (e *Error) Error() string {
return "dns: <nil>"
}
if e.Name == "" {
return "dns:" + e.Err
return "dns: " + e.Err
}
return "dns: " + e.Name + ": " + e.Err