summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-03-16 12:55:07 +0100
committerPřemysl Eric Janouch <p@janouch.name>2022-03-16 12:57:00 +0100
commit9c31fb69dfe8e2daa17990d317e860df7d163dc3 (patch)
treec74aeb28f9c6f5b1f01b660fa494cb975e6c483f
parenta51c247d69b2b765ad59f9a79093e25f74ebcc83 (diff)
downloadxK-9c31fb69dfe8e2daa17990d317e860df7d163dc3.tar.gz
xK-9c31fb69dfe8e2daa17990d317e860df7d163dc3.tar.xz
xK-9c31fb69dfe8e2daa17990d317e860df7d163dc3.zip
hid: make note of a deprecation
-rw-r--r--xS/main.go1
1 files changed, 1 insertions, 0 deletions
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 {