add expire tool
This commit is contained in:
parent
f61470468b
commit
41a8541660
@ -428,8 +428,10 @@ 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()
|
||||||
|
if msg != nil {
|
||||||
hdr = textproto.MIMEHeader(msg.Header)
|
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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user