aboutsummaryrefslogtreecommitdiff
path: root/src/or/consdiffmgr.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-05-05 12:10:45 -0400
committerAlexander Færøy <ahf@torproject.org>2017-05-12 17:45:44 +0200
commitdb370bb8a8fd65a902d3abd996ace019db4c296c (patch)
treeaecc0869b4647f94b1132f22e72e22d71eeeb541 /src/or/consdiffmgr.c
parent30dfb36148c05b8757f3ac263a8473b7aeba0ac5 (diff)
downloadtor-db370bb8a8fd65a902d3abd996ace019db4c296c.tar.gz
tor-db370bb8a8fd65a902d3abd996ace019db4c296c.zip
Test fix: expect old consensuses to be deleted if not deflate-compressed
Diffstat (limited to 'src/or/consdiffmgr.c')
-rw-r--r--src/or/consdiffmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/consdiffmgr.c b/src/or/consdiffmgr.c
index ad63ce9d52..3e1edf0fd6 100644
--- a/src/or/consdiffmgr.c
+++ b/src/or/consdiffmgr.c
@@ -108,7 +108,7 @@ static const compress_method_t compress_consensus_with[] = {
};
/** How many different methods will we try to use for diff compression? */
-static unsigned
+STATIC unsigned
n_consensus_compression_methods(void)
{
return ARRAY_LENGTH(compress_consensus_with);