Formatting and comments
This commit is contained in:
parent
9b718566ba
commit
56109b387d
|
@ -521,7 +521,7 @@ func (cl *Client) initiateConn(peer Peer, t *Torrent) {
|
|||
|
||||
func (cl *Client) dialTCP(ctx context.Context, addr string) (c net.Conn, err error) {
|
||||
d := net.Dialer{
|
||||
// LocalAddr: cl.tcpListener.Addr(),
|
||||
// LocalAddr: cl.tcpListener.Addr(),
|
||||
}
|
||||
c, err = d.DialContext(ctx, "tcp", addr)
|
||||
countDialResult(err)
|
||||
|
|
|
@ -40,6 +40,8 @@ var (
|
|||
_ fusefs.HandleReadDirAller = dirNode{}
|
||||
)
|
||||
|
||||
// Is a directory node that lists all torrents and handles destruction of the
|
||||
// filesystem.
|
||||
type rootNode struct {
|
||||
fs *TorrentFS
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue