mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-10 15:58:40 +00:00
Use new method name
This commit is contained in:
parent
c0554c9fbf
commit
541d05df1b
@ -31,7 +31,7 @@ func listener(addr string, config *tls.Config) {
|
||||
listener := tlsutil.DowngradingListener{tcpListener, nil}
|
||||
|
||||
for {
|
||||
conn, isTLS, err := listener.AcceptNoWrap()
|
||||
conn, isTLS, err := listener.AcceptNoWrapTLS()
|
||||
if err != nil {
|
||||
if debug {
|
||||
log.Println(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user