Archived
1
0

try fixing scrape from inn2

This commit is contained in:
Jeff Becker 2017-09-24 10:16:08 -04:00
parent 61c35b7652
commit ab37624a7a
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -1362,7 +1362,7 @@ func (self *nntpConnection) scrapeServer(daemon *NNTPDaemon, conn *textproto.Con
success := true
if success {
// send newsgroups command
err = conn.PrintfLine("NEWSGROUPS %d 000000 GMT", timeNow())
err = conn.PrintfLine("LIST NEWSGROUPS")
if err == nil {
// read response line
code, _, err := conn.ReadCodeLine(231)