X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fnncp%2Ftoss.go;h=c180ed9554c6c1d6b9c5b4fc4fc068f0df596546;hb=dd92823db3d72fb21a4c712a7fb052dce16443dd;hp=c7522e8265b1e65e96aed9a14d4232a13f800db5;hpb=05d433befb610aac3922c7a8f2afad2af8e23b4d;p=nncp.git diff --git a/src/cypherpunks.ru/nncp/toss.go b/src/cypherpunks.ru/nncp/toss.go index c7522e8..c180ed9 100644 --- a/src/cypherpunks.ru/nncp/toss.go +++ b/src/cypherpunks.ru/nncp/toss.go @@ -4,8 +4,7 @@ Copyright (C) 2016-2019 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 -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. +the Free Software Foundation, version 3 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -56,7 +55,8 @@ func newNotification(fromTo *FromToYAML, subject string) io.Reader { func (ctx *Ctx) Toss( nodeId *NodeId, nice uint8, - dryRun, doSeen, noFile, noFreq, noExec, noTrns bool) bool { + dryRun, doSeen, noFile, noFreq, noExec, noTrns bool, +) bool { isBad := false for job := range ctx.Jobs(nodeId, TRx) { pktName := filepath.Base(job.Fd.Name())