From 9c31fb69dfe8e2daa17990d317e860df7d163dc3 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Wed, 16 Mar 2022 12:55:07 +0100 Subject: hid: make note of a deprecation --- xS/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/xS/main.go b/xS/main.go index 43a04f2..cf57b5e 100644 --- a/xS/main.go +++ b/xS/main.go @@ -3133,6 +3133,7 @@ func accept(ln net.Listener) { "use of closed network connection") { return } + // XXX: net.Error.Temporary() has been deprecated in 1.18. if op, ok := err.(net.Error); !ok || !op.Temporary() { exitFatal("%s", err) } else { -- cgit v1.2.3-70-g09d2