mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
Use new method name
This commit is contained in:
parent
9b85a6fb7c
commit
041b97dd25
@ -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…
Reference in New Issue
Block a user