Commit 1b488b8b authored by Per Cederqvist's avatar Per Cederqvist

Don't send async-sub-recipient messages when texts are deleted.

parent cd6c01c0
1999-05-30 Per Cederqvist <ceder@gratia>
Don't send async-sub-recipient messages when texts are deleted.
* src/server/text.c (perform_subtraction): New static function,
extracted from do_sub_recpt. Only send async-sub-recipient if
the new argument want_async is true.
(do_sub_recpt): Code simplified by creation of
perform_subtraction(). New argument: want_async (see above).
(do_delete_text): Tell do_sub_recpt that we don't want any
async-sub-recipient messages.
(sub_recipient): Tell do_sub_recpt to send async-sub-recipient
messages.
* src/server/testsuite/lyskomd.0/09.exp: async-sub-recipient
messages are no longer erroneously sent. Comment out the code
that causes a core dump.
* src/server/testsuite/lyskomd.0/send-async-cov.exp: Likewise.
* src/server/testsuite/lyskomd.0/06.exp: async-sub-recipient
messages are no longer erroneously sent.
Added a test case that corresponds to the bug found 1999-05-24.
* src/server/testsuite/lyskomd.0/09.exp: This test now causes
lyskomd to dump core while garbing texts.
......
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