cosmetic: resolve some more linter complaints

This commit is contained in:
Matthias Radestock committed 2015-05-11 02:37:59 +01:00
1 parent 4bef9d90fb
commit b43a3e9ab2
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -214,7 +214,7 @@ func (c *MDNSClient) ResponseCallback(r *dns.Msg) {
}
if query, found := c.inflight[name]; found {
newResponseInfos := make([]*responseInfo, 0)
var newResponseInfos []*responseInfo
for _, resp := range query.responseInfos {
resp.ch <- res
// insistent queries are not removed on the first reply, but on the timeout