From 33dd2560e018e9c5c2f884b63b4549c48823edc4 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Fri, 16 Feb 2024 00:48:49 +0000 Subject: [PATCH] Format. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4848 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/task.c | 4 ++-- src/tests.c | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/task.c b/src/task.c index 4aeb4600..98a7cdbd 100644 --- a/src/task.c +++ b/src/task.c @@ -1911,10 +1911,10 @@ void tf_task_destroy(tf_task_t* task) uv_run(&task->_loop, UV_RUN_ONCE); } - //int index = 0; + int index = 0; while (uv_loop_close(&task->_loop) != 0) { - //if (index++ > 0) + if (index++ > 0) { tf_printf("--\n"); uv_print_all_handles(&task->_loop, stdout); diff --git a/src/tests.c b/src/tests.c index ea5f54ab..8b8c3978 100644 --- a/src/tests.c +++ b/src/tests.c @@ -760,14 +760,13 @@ static void _test_auto(const tf_test_options_t* options) char* args[] = { executable, "run", "-d", "out/selenium.sqlite", "-b", "0", "-p", "8888", NULL }; - uv_stdio_container_t io[3] = - { + uv_stdio_container_t io[3] = { { .flags = UV_INHERIT_FD }, { .flags = UV_INHERIT_FD }, { .flags = UV_INHERIT_FD }, }; - uv_process_options_t process_options = {0}; + uv_process_options_t process_options = { 0 }; process_options.args = args; process_options.exit_cb = _test_auto_process_exit; process_options.stdio = io;