From 6b039265d9986a1f0aa15d94f07cd7901b8fc931 Mon Sep 17 00:00:00 2001 From: cathugger Date: Wed, 24 Jan 2018 16:21:51 +0000 Subject: [PATCH] small insignificant fix --- contrib/backends/srndv2/src/srnd/nntp.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/backends/srndv2/src/srnd/nntp.go b/contrib/backends/srndv2/src/srnd/nntp.go index da2641f..31e791d 100644 --- a/contrib/backends/srndv2/src/srnd/nntp.go +++ b/contrib/backends/srndv2/src/srnd/nntp.go @@ -1395,8 +1395,8 @@ func (self *nntpConnection) scrapeGroup(daemon *NNTPDaemon, conn *textproto.Conn if err != nil { // something bad happened log.Println(self.name, "failed to obtain root post", refid, err) - // trying with another article isn't bad idea - err = nil + // it fails only when REALLY bad stuff happens + return } } } @@ -1413,8 +1413,8 @@ func (self *nntpConnection) scrapeGroup(daemon *NNTPDaemon, conn *textproto.Conn if err != nil { // something bad happened log.Println(self.name, "failed to obtain article", msgid, err) - // trying with another article isn't bad idea - err = nil + // it fails only when REALLY bad stuff happens + return } } }