hid: make note of a deprecation
This commit is contained in:
parent
a51c247d69
commit
9c31fb69df
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user