diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:32:39 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-09 07:32:39 -0500 |
commit | e45810113b150533611c7d9cb5f0f264e00a7394 (patch) | |
tree | 771581e87e36d6e4a4c81019c61b0dcb444c5096 /src/test/test_dir_handle_get.c | |
parent | a48cb9fa436720c263dd41ce501076185aeb5872 (diff) | |
parent | 8b2041c343098052dcec03cd6eda7087bc5c7616 (diff) | |
download | tor-e45810113b150533611c7d9cb5f0f264e00a7394.tar.gz tor-e45810113b150533611c7d9cb5f0f264e00a7394.zip |
Merge branch 'pre_formatter_cleanups_squashed'
Diffstat (limited to 'src/test/test_dir_handle_get.c')
-rw-r--r-- | src/test/test_dir_handle_get.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index 06236f8066..49034fd32c 100644 --- a/src/test/test_dir_handle_get.c +++ b/src/test/test_dir_handle_get.c @@ -55,13 +55,13 @@ #endif /* defined(_WIN32) */ #ifdef HAVE_CFLAG_WOVERLENGTH_STRINGS -DISABLE_GCC_WARNING(overlength-strings) +DISABLE_GCC_WARNING("-Woverlength-strings") /* We allow huge string constants in the unit tests, but not in the code * at large. */ #endif #include "vote_descriptors.inc" #ifdef HAVE_CFLAG_WOVERLENGTH_STRINGS -ENABLE_GCC_WARNING(overlength-strings) +ENABLE_GCC_WARNING("-Woverlength-strings") #endif #define NS_MODULE dir_handle_get @@ -258,7 +258,7 @@ test_dir_handle_get_rendezvous2_not_found_if_not_encrypted(void *data) conn = new_dir_conn(); // connection is not encrypted - tt_assert(!connection_dir_is_encrypted(conn)) + tt_assert(!connection_dir_is_encrypted(conn)); tt_int_op(directory_handle_command_get(conn, RENDEZVOUS2_GET(), NULL, 0), OP_EQ, 0); |