Skip to content

Commit

Permalink
Make GoLinter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
wneessen committed Mar 13, 2022
1 parent 62bf1ae commit 13f4c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msgwriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (mw *msgWriter) newPart(h map[string][]string) {
// writePart writes the corresponding part to the Msg body
func (mw *msgWriter) writePart(p *Part, cs Charset) {
ct := fmt.Sprintf("%s; charset=%s", p.ctype, cs)
cte := fmt.Sprintf("%s", p.enc)
cte := p.enc.String()
if mw.d == 0 {
mw.writeHeader(HeaderContentType, ct)
mw.writeHeader(HeaderContentTransferEnc, cte)
Expand Down

0 comments on commit 13f4c54

Please sign in to comment.