Use new method name

This commit is contained in:
AudriusButkevicius 2015-09-02 22:02:17 +01:00
parent 9b85a6fb7c
commit 041b97dd25

View File

@ -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)