more sane logging

This commit is contained in:
Miek Gieben 2012-08-07 08:31:34 +02:00
parent 1e58ea2d5f
commit 38c6ef4005
1 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@ package main
import (
"dns"
"errors"
"log"
"os"
)
@ -21,7 +20,7 @@ func (c *Config) ReadZone(origin, file string) error {
if rr.Error == nil {
z.Insert(rr.RR)
} else {
log.Printf("fksd: failed to parse: %s\n", rr.Error.Error())
logPrintf("failed to parse: %s\n", rr.Error.Error())
}
}
c.Zones[origin] = z