mirror of
https://github.com/safing/portmaster
synced 2025-09-10 15:08:22 +00:00
Fix linter errors
This commit is contained in:
parent
12b0ff973d
commit
af056780fc
5 changed files with 21 additions and 14 deletions
|
@ -239,7 +239,7 @@ func (mgr *tcpResolverConnMgr) run(workerCtx context.Context) error {
|
|||
}
|
||||
|
||||
// create connection
|
||||
conn, connClosing, connCtx, cancelConnCtx := mgr.establishConnection(workerCtx)
|
||||
conn, connClosing, connCtx, cancelConnCtx := mgr.establishConnection()
|
||||
if conn == nil {
|
||||
mgr.failCnt++
|
||||
continue
|
||||
|
@ -324,7 +324,7 @@ func (mgr *tcpResolverConnMgr) waitForWork(workerCtx context.Context) (proceed b
|
|||
return true
|
||||
}
|
||||
|
||||
func (mgr *tcpResolverConnMgr) establishConnection(workerCtx context.Context) (
|
||||
func (mgr *tcpResolverConnMgr) establishConnection() (
|
||||
conn *dns.Conn,
|
||||
connClosing *abool.AtomicBool,
|
||||
connCtx context.Context,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue