Skip to content

Commit 6d9cc8e

Browse files
committed
#72 Refer lhost.Indicators instead of calling lhost.INDICATORS()
1 parent fc179a6 commit 6d9cc8e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lhost/via-verizon.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ func init() {
2525
if moji.Aligned(bf.Headers["from"][0], []string{"sysadmin@", ".vzwpix.com"}) { proceedsto = 1 }
2626
if proceedsto == 0 { return sis.RisingUnderway{} }
2727

28-
indicators := INDICATORS()
2928
boundaries := []string{"Original Message:", "Message details:"}
3029
nooriginal := false
3130
startingof := map[string][]string{"message": []string{"Error: "}}
@@ -57,9 +56,9 @@ func init() {
5756
// previous line of the beginning of the original message.
5857
if readcursor == 0 {
5958
// Beginning of the bounce message or message/delivery-status part
60-
if strings.HasPrefix(e, startingof["message"][0]) { readcursor |= indicators["deliverystatus"] }
59+
if strings.HasPrefix(e, startingof["message"][0]) { readcursor |= Indicators["deliverystatus"] }
6160
}
62-
if readcursor & indicators["deliverystatus"] == 0 || e == "" { continue }
61+
if readcursor & Indicators["deliverystatus"] == 0 || e == "" { continue }
6362

6463
v.Diagnosis += e
6564
}

0 commit comments

Comments
 (0)