Skip to content

Commit 03a1003

Browse files
committed
#72 the 2nd argument of moji.Squeeze() is a byte
1 parent 1cea8b4 commit 03a1003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

address/find.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func Find(argv1 string) [3]string {
256256
for {
257257
// Remove redundant spaces from the display name when the value is not a "quoted-string"
258258
if strings.HasPrefix(readbuffer[1], `"`) && strings.HasSuffix(readbuffer[1], `"`) { break }
259-
readbuffer[1] = moji.Squeeze(readbuffer[1], " ")
259+
readbuffer[1] = moji.Squeeze(readbuffer[1], ' ')
260260
break
261261
}
262262
if rfc5322.IsQuotedAddress(readbuffer[1]) == false {

0 commit comments

Comments
 (0)