@@ -53,14 +53,14 @@ func init() {
53
53
},
54
54
}
55
55
56
- permessage := make ( map [string ]string , 4 ) // Store values of each Per-Message field
57
- keystrings := make ( []string , 0 , 4 ) // Key list of permessage
56
+ permessage := map [string ]string {} // Store values of each Per-Message field
57
+ keystrings := []string {} // Key list of permessage
58
58
dscontents := []sis.DeliveryMatter {{}}
59
59
emailparts := rfc5322 .Part (& bf .Payload , boundaries , false )
60
- recipients := uint8 (0 ) // The number of 'Final-Recipient' header
61
- nomessages := false // Delivery report unavailable
62
- anotherset := make ( map [string ]string , 4 ) // Another error information
63
- commandset := make ( []string , 0 , 2 ) // "in reply to * command" list
60
+ recipients := uint8 (0 ) // The number of 'Final-Recipient' header
61
+ nomessages := false // Delivery report unavailable
62
+ anotherset := map [string ]string {} // Another error information
63
+ commandset := []string {} // "in reply to * command" list
64
64
v := & (dscontents [len (dscontents ) - 1 ])
65
65
66
66
if proceedsto == 2 {
@@ -100,7 +100,7 @@ func init() {
100
100
} else {
101
101
// The message body is a general bounce mail message of Postfix
102
102
readcursor := uint8 (0 ) // Points the current cursor position
103
- readslices := make ([]string , 1 , 64 ) // Copy each line for later reference
103
+ readslices := make ([]string , 1 , 32 ) // Copy each line for later reference
104
104
105
105
for j , e := range (strings .Split (emailparts [0 ], "\n " )) {
106
106
// Read error messages and delivery status lines from the head of the email to the
0 commit comments