diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-04-17 14:29:10 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2017-04-17 14:29:10 +0200 |
commit | 44cb86adbe2e9b9fef7bf5fd64b52a8e44441be5 (patch) | |
tree | 2dd93776ce5e16f2f8df7b6e7bda8cf96e891b57 /src/test/test_dir_handle_get.c | |
parent | e8b025dfc30ef0008cb44feb56ab3c740d2bae9b (diff) | |
download | tor-44cb86adbe2e9b9fef7bf5fd64b52a8e44441be5.tar.gz tor-44cb86adbe2e9b9fef7bf5fd64b52a8e44441be5.zip |
Rename `tor_gzip_{compress,uncompress}` to `tor_{compress,uncompress}`.
To allow us to use the API name `tor_compress` and `tor_uncompress` as
the main entry-point for all compression/uncompression and not just gzip
and zlib.
See https://bugs.torproject.org/21663
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 cfda314693..ed8ea2f809 100644 --- a/src/test/test_dir_handle_get.c +++ b/src/test/test_dir_handle_get.c @@ -1832,8 +1832,8 @@ test_dir_handle_get_status_vote_current_consensus_ns(void* data) comp_body_used); tt_int_op(ZLIB_METHOD, OP_EQ, compression); - tor_gzip_uncompress(&body, &body_used, comp_body, comp_body_used, - compression, 0, LOG_PROTOCOL_WARN); + tor_uncompress(&body, &body_used, comp_body, comp_body_used, + compression, 0, LOG_PROTOCOL_WARN); tt_str_op(NETWORK_STATUS, OP_EQ, body); tt_int_op(strlen(NETWORK_STATUS), OP_EQ, body_used); |