X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcall.go;h=c52fc419ecafe6a75e45afaf9a14e99bd8c5a6ee;hb=0367cce2741e1ce6a89a49fd5c4e9df6005c9744;hp=e8b3f765233175b1f87339da8c1bf8b92371b4f9;hpb=bd98bc071da6b50d20ddf1df02af69111df4831c;p=nncp.git diff --git a/src/call.go b/src/call.go index e8b3f76..c52fc41 100644 --- a/src/call.go +++ b/src/call.go @@ -1,6 +1,6 @@ /* NNCP -- Node to Node copy, utilities for store-and-forward data exchange -Copyright (C) 2016-2021 Sergey Matveev +Copyright (C) 2016-2022 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -134,13 +134,13 @@ func (ctx *Ctx) CallNode( ) }) isGood = true - conn.Close() // #nosec G104 + conn.Close() break } else { ctx.LogE("call-started", les, err, func(les LEs) string { return fmt.Sprintf("Connection to %s (%s)", node.Name, addr) }) - conn.Close() // #nosec G104 + conn.Close() } } return