Commit 17e69fe 1 parent 2feb570 commit 17e69fe Copy full SHA for 17e69fe
File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ func init() {
50
50
"networkerror" : []string {"DNS lookup failed." },
51
51
}
52
52
53
- permessage := map [string ]string {} // Store values of each Per-Message field
54
- keystrings := []string {} // Key list of permessage
53
+ permessage := make ( map [string ]string , 4 ) // Store values of each Per-Message field
54
+ keystrings := make ( []string , 0 , 4 ) // Key list of permessage
55
55
dscontents := []sis.DeliveryMatter {{}}
56
56
emailparts := rfc5322 .Part (& bf .Payload , boundaries , false )
57
- readcursor := uint8 (0 ) // Points the current cursor position
58
- readslices := []string { "" } // Copy each line for later reference
59
- recipients := uint8 (0 ) // The number of 'Final-Recipient' header
60
- thecommand := "" // An SMTP command name begins with the string ">>>"
57
+ readcursor := uint8 (0 ) // Points the current cursor position
58
+ readslices := make ( []string , 1 , 64 ) // Copy each line for later reference
59
+ recipients := uint8 (0 ) // The number of 'Final-Recipient' header
60
+ thecommand := "" // An SMTP command name begins with the string ">>>"
61
61
v := & (dscontents [len (dscontents ) - 1 ])
62
62
63
63
for j , e := range (strings .Split (emailparts [0 ], "\n " )) {
You can’t perform that action at this time.
0 commit comments