Get the format string right
This commit is contained in:
1 parent
609585400b
commit
fd90212db4
1 file changed
+1
-1
@@ -11,7 +11,7 @@ func mdnsLookup(client *MDNSClient, name string, qtype uint16) (*Response, error
|
|||||||
client.SendQuery(name, qtype, channel)
|
client.SendQuery(name, qtype, channel)
|
||||||
for resp := range channel {
|
for resp := range channel {
|
||||||
if err := resp.Err; err != nil {
|
if err := resp.Err; err != nil {
|
||||||
Debug.Printf("[mdns] Error for query type %s name %d: %s",
|
Debug.Printf("[mdns] Error for query type %s name %s: %s",
|
||||||
dns.TypeToString[qtype], name, err)
|
dns.TypeToString[qtype], name, err)
|
||||||
return nil, err
|
return nil, err
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user