diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-30 17:14:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-30 17:14:46 -0400 |
commit | 3cdc8bfa2c995b3b381e462128c0408e0ae5b3af (patch) | |
tree | 6a812d4383db4c7421f03a1de941c614d6bf0c8d /src/test/test_dir_handle_get.c | |
parent | 97f2c1c58e0ad0a60b3c0ce35921e444c93b6e4f (diff) | |
download | tor-3cdc8bfa2c995b3b381e462128c0408e0ae5b3af.tar.gz tor-3cdc8bfa2c995b3b381e462128c0408e0ae5b3af.zip |
Let's not even talk about those errors, ok?
Diffstat (limited to 'src/test/test_dir_handle_get.c')
-rw-r--r-- | src/test/test_dir_handle_get.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c index e82eddf2a8..7f92c8c9ed 100644 --- a/src/test/test_dir_handle_get.c +++ b/src/test/test_dir_handle_get.c @@ -1013,7 +1013,7 @@ test_dir_handle_get_server_descriptors_d(void* data) conn = dir_connection_new(tor_addr_family(&MOCK_TOR_ADDR)); char req_header[155]; /* XXX Why 155? What kind of number is that?? */ - tor_snprintf(req_header, sizeof(req_handler), + tor_snprintf(req_header, sizeof(req_header), SERVER_DESC_GET("d/%s+" HEX1 "+" HEX2), hex_digest); tt_int_op(directory_handle_command_get(conn, req_header, NULL, 0), OP_EQ, 0); @@ -1358,7 +1358,7 @@ test_dir_handle_get_server_keys_fp(void* data) conn = dir_connection_new(tor_addr_family(&MOCK_TOR_ADDR)); char req[71]; - tor_snprintf(req, (sizeof(req), + tor_snprintf(req, sizeof(req), GET("/tor/keys/fp/%s"), TEST_CERT_IDENT_KEY); tt_int_op(directory_handle_command_get(conn, req, NULL, 0), OP_EQ, 0); |