mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Break CONNECTION_TESTCAE_ARG across multiple lines
This commit is contained in:
parent
8a5a1600cd
commit
1651f92c16
@ -967,9 +967,14 @@ test_failed_orconn_tracker(void *arg)
|
||||
#define CONNECTION_TESTCASE(name, fork, setup) \
|
||||
{ #name, test_conn_##name, fork, &setup, NULL }
|
||||
|
||||
#define STR(x) #x
|
||||
/* where arg is an expression (constant, variable, compound expression) */
|
||||
#define CONNECTION_TESTCASE_ARG(name, fork, setup, arg) \
|
||||
{ #name "_" #arg, test_conn_##name, fork, &setup, (void *)arg }
|
||||
#define CONNECTION_TESTCASE_ARG(name, fork, setup, arg) \
|
||||
{ #name "_" STR(x), \
|
||||
test_conn_##name, \
|
||||
fork, \
|
||||
&setup, \
|
||||
(void *)arg }
|
||||
#endif /* !defined(COCCI) */
|
||||
|
||||
static const unsigned int PROXY_CONNECT_ARG = PROXY_CONNECT;
|
||||
|
Loading…
Reference in New Issue
Block a user