This commit is contained in:
Jeff Becker
2017-11-06 18:22:51 -05:00
parent c06b503efd
commit bf357a3461
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -361,7 +361,11 @@ func (self *nntpArticle) Headers() ArticleHeaders {
}
func (self *nntpArticle) MIMEHeader() textproto.MIMEHeader {
return textproto.MIMEHeader(self.headers)
h := make(textproto.MIMEHeader)
for k, v := range self.headers {
h[k] = v
}
return h
}
func (self *nntpArticle) AppendPath(part string) NNTPMessage {