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 03:07:38 +01:00
parent 61833c32e5
commit 91100d3fac
2 changed files with 9 additions and 5 deletions

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