Skip to content

Commit 43d7dd8

Browse files
committed
#72 Refer lhost.Indicators instead of calling lhost.INDICATORS()
1 parent 276cf52 commit 43d7dd8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lhost/via-qmail.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ func init() {
4545
}
4646
if proceedsto == false { return sis.RisingUnderway{} }
4747

48-
indicators := INDICATORS()
4948
boundaries := []string{
5049
// qmail-send.c:qmail_puts(&qqt,*sender.s ? "--- Below this line is a copy of the message.\n\n" :...
5150
"--- Below this line is a copy of the message.", // qmail-1.03
@@ -174,10 +173,10 @@ func init() {
174173
// previous line of the beginning of the original message.
175174
if readcursor == 0 {
176175
// Beginning of the bounce message or message/delivery-status part
177-
if moji.ContainsAny(e, startingof["message"]) { readcursor |= indicators["deliverystatus"] }
176+
if moji.ContainsAny(e, startingof["message"]) { readcursor |= Indicators["deliverystatus"] }
178177
continue
179178
}
180-
if readcursor & indicators["deliverystatus"] == 0 || e == "" { continue }
179+
if readcursor & Indicators["deliverystatus"] == 0 || e == "" { continue }
181180

182181
183182
// 192.0.2.153 does not like recipient.

0 commit comments

Comments
 (0)