Archived
1
0

add expire tool

This commit is contained in:
Jeff Becker 2017-08-08 18:48:07 -04:00
parent f61470468b
commit 41a8541660

View File

@ -428,7 +428,9 @@ func (self *articleStore) getMIMEHeader(messageID string) (hdr textproto.MIMEHea
var msg *mail.Message var msg *mail.Message
msg, err = readMIMEHeader(r) msg, err = readMIMEHeader(r)
f.Close() f.Close()
hdr = textproto.MIMEHeader(msg.Header) if msg != nil {
hdr = textproto.MIMEHeader(msg.Header)
}
} }
if err != nil { if err != nil {
log.Println("failed to load article headers for", messageID, err) log.Println("failed to load article headers for", messageID, err)