From 0e607542dca1247217997184224fc1a779778166 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 30 Mar 2020 10:55:31 +0200 Subject: cleanup: insert newline after if() conditions Our code style mandates we put the conditional block on a separate line. These mistakes are now detected by the updated checksrc. --- tests/libtest/test.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'tests/libtest') diff --git a/tests/libtest/test.h b/tests/libtest/test.h index 393743962..4f2af415a 100644 --- a/tests/libtest/test.h +++ b/tests/libtest/test.h @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2019, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -44,11 +44,13 @@ #include "curl_printf.h" -#define test_setopt(A,B,C) \ - if((res = curl_easy_setopt((A), (B), (C))) != CURLE_OK) goto test_cleanup +#define test_setopt(A,B,C) \ + if((res = curl_easy_setopt((A), (B), (C))) != CURLE_OK) \ + goto test_cleanup -#define test_multi_setopt(A,B,C) \ - if((res = curl_multi_setopt((A), (B), (C))) != CURLE_OK) goto test_cleanup +#define test_multi_setopt(A,B,C) \ + if((res = curl_multi_setopt((A), (B), (C))) != CURLE_OK) \ + goto test_cleanup extern char *libtest_arg2; /* set by first.c to the argv[2] or NULL */ extern char *libtest_arg3; /* set by first.c to the argv[3] or NULL */ -- cgit v1.2.3