From f11f67190cf3904eb8058c10e0ef087eae7b0232 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 31 Oct 2017 11:52:59 -0400 Subject: [PATCH] try fix --- contrib/backends/srndv2/src/srnd/nntp.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/backends/srndv2/src/srnd/nntp.go b/contrib/backends/srndv2/src/srnd/nntp.go index def38f0..399cb46 100644 --- a/contrib/backends/srndv2/src/srnd/nntp.go +++ b/contrib/backends/srndv2/src/srnd/nntp.go @@ -1537,7 +1537,8 @@ func (self *nntpConnection) requestArticle(daemon *NNTPDaemon, conn *textproto.C // invalid response log.Println(self.name, "invald response to ARTICLE:", code, line) } - if err == io.EOF { + if err != nil { + log.Println(self.name, err.Error()) conn.Close() } return