Archived
1
0
This commit is contained in:
Jeff Becker 2017-10-31 11:52:59 -04:00
parent 75bc4df7f6
commit f11f67190c
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -1537,7 +1537,8 @@ func (self *nntpConnection) requestArticle(daemon *NNTPDaemon, conn *textproto.C
// invalid response // invalid response
log.Println(self.name, "invald response to ARTICLE:", code, line) 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() conn.Close()
} }
return return