aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-25 08:12:59 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-25 08:12:59 -0400
commitba405f86bf33ed0e6c9552b3d9aad87bb79c1237 (patch)
tree4f50dd06a62263594e69c701253d4a632d1c7574 /src/or/relay.c
parentdb95a6e17129b51e0409dbcad1707367f9388173 (diff)
parent2210b330e757d234346191e5d05af761fe8561e6 (diff)
downloadtor-ba405f86bf33ed0e6c9552b3d9aad87bb79c1237.tar.gz
tor-ba405f86bf33ed0e6c9552b3d9aad87bb79c1237.zip
Merge branch 'ahf_prop278_21662_squashed'
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 5139036327..8524080939 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -54,6 +54,7 @@
#include "circuitbuild.h"
#include "circuitlist.h"
#include "circuituse.h"
+#include "compress.h"
#include "config.h"
#include "connection.h"
#include "connection_edge.h"
@@ -2453,7 +2454,7 @@ cell_queues_check_size(void)
{
size_t alloc = cell_queues_get_total_allocation();
alloc += buf_get_total_allocation();
- alloc += tor_zlib_get_total_allocation();
+ alloc += tor_compress_get_total_allocation();
const size_t rend_cache_total = rend_cache_get_total_allocation();
alloc += rend_cache_total;
if (alloc >= get_options()->MaxMemInQueues_low_threshold) {