Skip to content

Commit 4bbfce3

Browse files
committed
#72 Initialize the anotherone([]string) using make()
1 parent c497de2 commit 4bbfce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lhost/via-exim.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func init() {
185185
readcursor := uint8(0) // Points the current cursor position
186186
nextcursor := uint8(0)
187187
recipients := 0 // The number of 'Final-Recipient' header
188-
anotherone := []string{""} // Keeping another error messages
188+
anotherone := make([]string, 1, 2) // Keeping another error messages
189189
rightindex := uint8(0) // The last index number of dscontents
190190
boundary00 := "" // Boundary sting
191191
v := &(dscontents[len(dscontents) - 1])

0 commit comments

Comments
 (0)