mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
cmd/ctrld: workaround staticcheck complain on non-Linux OSes
This commit is contained in:
committed by
Cuong Manh Le
parent
829e93c079
commit
2bcba7b578
@@ -332,6 +332,8 @@ func errAddrInUse(err error) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
var _ = errAddrInUse
|
||||
|
||||
// https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2
|
||||
var (
|
||||
windowsECONNREFUSED = syscall.Errno(10061)
|
||||
|
||||
Reference in New Issue
Block a user