fix for latest quic

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2023-06-10 17:25:47 +03:00
parent b127beb633
commit 5d4bfbb1c5

View File

@ -104,10 +104,10 @@ func (c *Conn) SetWriteDeadline(t time.Time) error {
var _ net.Listener = (*Listener)(nil)
type Listener struct {
ql quic.Listener
ql *quic.Listener
}
func Listen(ql quic.Listener) net.Listener {
func Listen(ql *quic.Listener) net.Listener {
return &Listener{ql}
}