From: Stephan Bosch Date: Wed, 8 Apr 2020 22:23:46 +0000 (+0200) Subject: lib-smtp: test-smtp-server-errors - Rename test_clients_kill_all() to test_clients_ki... X-Git-Tag: 2.3.13~624 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f37980b70820e5b6e1869a035ff059228c6d29a0;p=thirdparty%2Fdovecot%2Fcore.git lib-smtp: test-smtp-server-errors - Rename test_clients_kill_all() to test_clients_kill_forced(). --- diff --git a/src/lib-smtp/test-smtp-server-errors.c b/src/lib-smtp/test-smtp-server-errors.c index 1175c4ee59..48a1c05378 100644 --- a/src/lib-smtp/test-smtp-server-errors.c +++ b/src/lib-smtp/test-smtp-server-errors.c @@ -2955,7 +2955,7 @@ static int test_open_server_fd(void) return fd; } -static void test_clients_kill_all(void) +static void test_clients_kill_forced(void) { unsigned int i; @@ -3040,7 +3040,7 @@ test_run_client_server(const struct smtp_server_settings *server_set, i_unset_failure_prefix(); i_close_fd(&fd_listen); - test_clients_kill_all(); + test_clients_kill_forced(); i_free(client_pids); } @@ -3059,7 +3059,7 @@ static void test_signal_handler(const siginfo_t *si, void *context ATTR_UNUSED) terminating = 1; /* make sure we don't leave any pesky children alive */ - test_clients_kill_all(); + test_clients_kill_forced(); (void)signal(signo, SIG_DFL); raise(signo); @@ -3067,7 +3067,7 @@ static void test_signal_handler(const siginfo_t *si, void *context ATTR_UNUSED) static void test_atexit(void) { - test_clients_kill_all(); + test_clients_kill_forced(); } static void main_init(void)