]> Sergey Matveev's repositories - btrtrc.git/blobdiff - utp_go.go
Fix UseSources panicking when sqlite storage is closed
[btrtrc.git] / utp_go.go
index a7c225de434582869bd4436a99a1d7126b6faf0d..1e60f82fe8772543c183cd2ca8d5d8f8752c2e7d 100644 (file)
--- a/utp_go.go
+++ b/utp_go.go
@@ -4,10 +4,11 @@
 package torrent
 
 import (
+       "github.com/anacrolix/log"
        "github.com/anacrolix/utp"
 )
 
-func NewUtpSocket(network, addr string, _ firewallCallback) (utpSocket, error) {
+func NewUtpSocket(network, addr string, _ firewallCallback, _ log.Logger) (utpSocket, error) {
        s, err := utp.NewSocket(network, addr)
        if s == nil {
                return nil, err