]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: test-http-client-errors - Rename test_servers_kill_all() to test_servers_ki...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 6 Apr 2020 21:34:10 +0000 (23:34 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 22 May 2020 08:42:33 +0000 (08:42 +0000)
src/lib-http/test-http-client-errors.c

index 604c45180f2614b2c0432df62176a9bdd420a5b4..7f8d184a2ce366906f1cadcb375b5fcdbd8af334 100644 (file)
@@ -3381,7 +3381,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;
 
@@ -3509,7 +3509,7 @@ test_run_client_server(const struct http_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);
 
@@ -3531,7 +3531,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);
@@ -3539,7 +3539,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)