Commit 856f9e27 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Simplify the code by unifying do_add_recpt, do_add_cc_recpt and

do_add_bcc_recpt.  (Bug 190).
parent 7c3abfaa
2001-11-04 Per Cederqvist <ceder@moria>
Simplify the code by unifying do_add_recpt, do_add_cc_recpt and
do_add_bcc_recpt. (Bug 190).
* src/server/text.c (do_add_recipient): New function, that is like
do_add_recpt, but with an additional Info_type argument that
specifies what kind of recipient to add.
(do_add_recpt): Function removed.
(do_add_cc_recpt): Function removed.
(do_add_bcc_recpt): Function removed.
(create_text_add_miscs): Use do_add_recipient. Simplify code.
(add_recipient): Ditto.
Unify several fields in the Info_datum union. This makes it
possible to handle recpt, cc_recpt and bcc_recpt by the same code
in many places, resulting in the removal of approximately 300
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment