]> granicus.if.org Git - mutt/commit
Change "allow_dups" into a flag at hash creation.
authorKevin McCarthy <kevin@8t8.us>
Fri, 10 Feb 2017 21:01:21 +0000 (13:01 -0800)
committerKevin McCarthy <kevin@8t8.us>
Fri, 10 Feb 2017 21:01:21 +0000 (13:01 -0800)
commit43561289acfc4fae8494794bb94f6858c1d0d3db
treee157e0a76e04de66a086cb05a247d23fa46c5cf7
parent63153cc6ee725e1eec5c7df8ae0e518c148cd529
Change "allow_dups" into a flag at hash creation.

Instead of having an "allow_dups" parameter for hash_insert(), add a
flag, MUTT_HASH_ALLOW_DUPS, to hash_create().

Currently ReverseAlias, subj_hash, and thread_hash allow duplicate
keys.  Change those hashes to pass the flag at creation, and remove
the last parameter from all callers of hash_insert().
alias.c
group.c
hash.c
hash.h
headers.c
imap/message.c
init.c
mh.c
mx.c
pop.c
thread.c