]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: test-smtp-client-errors - Rename test_servers_kill_all() to test_servers_ki...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Wed, 8 Apr 2020 20:27:46 +0000 (22:27 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 25 May 2020 15:29:02 +0000 (17:29 +0200)
src/lib-smtp/test-smtp-client-errors.c

index e2401d5233c40abf1dd731494d66f7069348f243..6cfa5ef4f11a52cd86cd639eba3e8609736b49d4 100644 (file)
@@ -3840,7 +3840,7 @@ static int test_open_server_fd(in_port_t *bind_port)
        return fd;
 }
 
-static void test_servers_kill_all(void)
+static void test_servers_kill_forced(void)
 {
        unsigned int i;
 
@@ -3964,7 +3964,7 @@ test_run_client_server(const struct smtp_client_settings *client_set,
        io_loop_destroy(&ioloop);
 
        i_unset_failure_prefix();
-       test_servers_kill_all();
+       test_servers_kill_forced();
        i_free(server_pids);
        i_free(bind_ports);
 
@@ -3986,7 +3986,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_servers_kill_all();
+       test_servers_kill_forced();
 
        (void)signal(signo, SIG_DFL);
        raise(signo);
@@ -3994,7 +3994,7 @@ static void test_signal_handler(const siginfo_t *si, void *context ATTR_UNUSED)
 
 static void test_atexit(void)
 {
-       test_servers_kill_all();
+       test_servers_kill_forced();
 }
 
 static void main_init(void)