aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dir_handle_get.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-09 07:32:39 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-09 07:32:39 -0500
commite45810113b150533611c7d9cb5f0f264e00a7394 (patch)
tree771581e87e36d6e4a4c81019c61b0dcb444c5096 /src/test/test_dir_handle_get.c
parenta48cb9fa436720c263dd41ce501076185aeb5872 (diff)
parent8b2041c343098052dcec03cd6eda7087bc5c7616 (diff)
downloadtor-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.c6
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);