Skip to content

Commit 21aa39a

Browse files
committed
#72 the 2nd argument of moji.Squeeze() is a byte
1 parent 0ebac05 commit 21aa39a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lhost/via-exim.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ func init() {
410410
} else if len(e.Diagnosis) < len(anotherone[j]) {
411411
// Override the value of diagnostic code message with the value of alterrors
412412
// because the latter includes the former.
413-
anotherone[j] = moji.Squeeze(anotherone[j], " ")
413+
anotherone[j] = moji.Squeeze(anotherone[j], ' ')
414414
if strings.Contains(strings.ToLower(anotherone[j]), strings.ToLower(e.Diagnosis)) {
415415
// anotherone[j] contains the same error message stored in e.Diagnosis
416416
e.Diagnosis = anotherone[j]

0 commit comments

Comments
 (0)