diff --git a/contrib/backends/srndv2/src/srnd/daemon.go b/contrib/backends/srndv2/src/srnd/daemon.go index 06c65f6..149bc79 100644 --- a/contrib/backends/srndv2/src/srnd/daemon.go +++ b/contrib/backends/srndv2/src/srnd/daemon.go @@ -851,7 +851,6 @@ func (self *NNTPDaemon) poll(worker int) { if hdr == nil { log.Println("worker", worker, "failed to load", msgid) } else { - msgid := getMessageID(hdr) log.Println("worker", worker, "got", msgid) rollover := 100 group := hdr.Get("Newsgroups", "") diff --git a/contrib/backends/srndv2/src/srnd/util.go b/contrib/backends/srndv2/src/srnd/util.go index 74319c4..5b9037d 100644 --- a/contrib/backends/srndv2/src/srnd/util.go +++ b/contrib/backends/srndv2/src/srnd/util.go @@ -728,6 +728,7 @@ func parseRange(str string) (lo, hi int64) { func storeMessage(daemon *NNTPDaemon, hdr textproto.MIMEHeader, body io.Reader) (err error) { var f io.WriteCloser msgid := getMessageID(hdr) + log.Println("store", msgid) if msgid == "" { // drop, invalid header log.Println("dropping message with invalid mime header, no message-id")