Lowercase the addresses before gossip peerstate update

Normally it happens in addr_cmp function, but update_gossip_peerstates
forms a HashSet of addresses, so they should be lowercased beforehand.

Also adjust the mail_with_cc.txt to test for non-lowercase addresses.
This commit is contained in:
Alexander Krotov
2020-01-02 18:14:27 +00:00
parent 61833c32e5
commit 91100d3fac
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -9,6 +9,6 @@ message-id: <2dfdbde7@example.org>
Date: Sat, 14 Sep 2019 19:00:13 +0200
From: lmn <x@tux.org>
To: abc <abc@bcd.com>
CC: def <def@def.de>
CC: def <Def@def.de>
hi