Skip to content

Commit 08d3037

Browse files
committed
#72 Initialize the ReturnedBy using make()
1 parent 47711f1 commit 08d3037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rfc3464/thirdparty.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
package rfc3464
1111
import "strings"
1212

13-
var ReturnedBy = map[string]func(string) []string {}
13+
var ReturnedBy = make(map[string]func(string) []string, 1)
1414
var thirdparty = map[string][]string{
1515
// "Aol": []string{"X-Outbound-Mail-Relay-"}, // X-Outbound-Mail-Relay-(Queue-ID|Sender)
1616
"PowerMTA": []string{"X-PowerMTA-"}, // X-PowerMTA-(VirtualMTA|BounceCategory)

0 commit comments

Comments
 (0)