Skip to content

Commit 710a124

Browse files
committed
#72 the 2nd argument of moji.Squeeze() is a byte
1 parent 1c1da9c commit 710a124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rfc2045/make-multipart-flat.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func haircut(block *string, heads bool) []string {
5555
if len(headerpart[0]) > 0 {
5656
// Append parameters
5757
headerpart[0] += " " + e
58-
headerpart[0] = moji.Squeeze(headerpart[0], " ")
58+
headerpart[0] = moji.Squeeze(headerpart[0], ' ')
5959
}
6060
}
6161
}

0 commit comments

Comments
 (0)