From 6b2fc69d6edffac9653de9fb89c1c55549e63283 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 13 Apr 2024 15:43:10 +0800 Subject: [PATCH] 1 --- server/mailserver/mail/mail.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server/mailserver/mail/mail.go b/server/mailserver/mail/mail.go index fc71708a..7e7c8ddf 100644 --- a/server/mailserver/mail/mail.go +++ b/server/mailserver/mail/mail.go @@ -19,6 +19,7 @@ type mail struct { sendTime int32 expireTime int32 attachments []*attachment + addresses map[string]int32 } func (this *mail) Init() { @@ -26,7 +27,7 @@ func (this *mail) Init() { } func newMail() *mail { - m := new(mail) - m.Init() - return m + p := new(mail) + p.Init() + return p }