Skip to content

Commit 13f4c54

Browse files
author
Winni Neessen
committed
Make GoLinter happy
1 parent 62bf1ae commit 13f4c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msgwriter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func (mw *msgWriter) newPart(h map[string][]string) {
102102
// writePart writes the corresponding part to the Msg body
103103
func (mw *msgWriter) writePart(p *Part, cs Charset) {
104104
ct := fmt.Sprintf("%s; charset=%s", p.ctype, cs)
105-
cte := fmt.Sprintf("%s", p.enc)
105+
cte := p.enc.String()
106106
if mw.d == 0 {
107107
mw.writeHeader(HeaderContentType, ct)
108108
mw.writeHeader(HeaderContentTransferEnc, cte)

0 commit comments

Comments
 (0)