Skip to content

Commit cde4776

Browse files
committed
#72 Refer lhost.Indicators instead of calling lhost.INDICATORS()
1 parent 77b2201 commit cde4776

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lhost/via-x6.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ func init() {
2323
if bf == nil || bf.Empty() == true { return sis.RisingUnderway{} }
2424
if strings.HasPrefix(bf.Headers["subject"][0], "There was an error sending your mail") == false { return sis.RisingUnderway{} }
2525

26-
indicators := INDICATORS()
2726
boundaries := []string{"The attachment contains the original mail headers"}
2827
startingof := map[string][]string{"message": []string{"We had trouble delivering your message. Full details follow:"}}
2928

@@ -38,9 +37,9 @@ func init() {
3837
// previous line of the beginning of the original message.
3938
if readcursor == 0 {
4039
// Beginning of the bounce message or message/delivery-status part
41-
if strings.HasPrefix(e, startingof["message"][0]) { readcursor |= indicators["deliverystatus"] }
40+
if strings.HasPrefix(e, startingof["message"][0]) { readcursor |= Indicators["deliverystatus"] }
4241
}
43-
if readcursor & indicators["deliverystatus"] == 0 || e == "" { continue }
42+
if readcursor & Indicators["deliverystatus"] == 0 || e == "" { continue }
4443

4544
// We had trouble delivering your message. Full details follow:
4645
//

0 commit comments

Comments
 (0)