From 5d4bfbb1c589289fd5c289c1b8b1b4af64c997eb Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sat, 10 Jun 2023 17:25:47 +0300 Subject: [PATCH] fix for latest quic Signed-off-by: Vasiliy Tolstov --- quic_net.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quic_net.go b/quic_net.go index 3371973..f9191f8 100644 --- a/quic_net.go +++ b/quic_net.go @@ -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} } -- 2.45.2