talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 73ba30d10ad422feef0a8c3de5b178349ccb39f3
parent 12ab4c172e64355532f47b1a713d7ee86b4ad9fd
Author: Ricardo Mones <ricardo@mones.org>
Date:   Wed,  5 Oct 2016 09:51:31 +0200

Fix bug #3705: active account Mail Address corrupted…

…when address in Message-ID is used

Diffstat:
Msrc/prefs_account.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/prefs_account.c b/src/prefs_account.c @@ -4911,7 +4911,7 @@ gchar *prefs_account_generate_msgid(PrefsAccount *account) { gchar *addr, *tmbuf, *buf = NULL; GDateTime *now; - gchar *user_addr = account->msgid_with_addr ? account->address : NULL; + gchar *user_addr = account->msgid_with_addr ? g_strdup(account->address) : NULL; if (account->set_domain && account->domain) { buf = g_strdup(account->domain);