lib/connections: Silence vet and lint warnings
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2971
This commit is contained in:
@@ -91,7 +91,8 @@ func makeTCPListener(network string) ListenerFactory {
|
||||
}
|
||||
|
||||
conns <- model.IntermediateConnection{
|
||||
tc, model.ConnectionTypeDirectAccept,
|
||||
Conn: tc,
|
||||
Type: model.ConnectionTypeDirectAccept,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user