Skip to content

Commit

Permalink
fix: replace unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
WendelHime committed Oct 25, 2024
1 parent b2dff0c commit 353da30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ func (p *Proxy) listenWATER(addr string) (net.Listener, error) {

return utls.Listen("tcp", addr, &utls.Config{Certificates: []utls.Certificate{cert}})
default:
return nil, log.Errorf("unsupported mismatch protocol provided: %d", mismatchProtocol)
return nil, log.Errorf("unsupported mismatch protocol provided: %s", p.WaterMismatchProtocol)
}
}

Expand Down

0 comments on commit 353da30

Please sign in to comment.