Tidied up a few printfs

This commit is contained in:
Michael Bridgen committed 2014-10-17 15:24:51 +01:00
1 parent 9d1f2023b5
commit a3cede3027
3 files changed
+2 -3

No files matched your search

-2
View File
@@ -2,7 +2,6 @@ package weavedns
import (
"github.com/miekg/dns"
"log"
"net"
"sync"
)
@@ -46,7 +45,6 @@ func (err DuplicateError) Error() string {
// Stop gap.
func (zone *ZoneDb) match(name string) (net.IP, error) {
for _, r := range zone.recs {
log.Printf("%s == %s ?", r.Name, name)
if r.Name == name {
return r.WeaveIp, nil
}