hid: make note of a deprecation
This commit is contained in:
parent
22e3861851
commit
8b376694d3
|
@ -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