aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_consdiffmgr.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-10-24 11:06:34 -0400
committerNick Mathewson <nickm@torproject.org>2018-10-24 11:06:34 -0400
commit594140574e7366efac693d440a636a1e1cce82ff (patch)
tree9db48ee78a42be30bb19c2c0287f3416185d6a4d /src/test/test_consdiffmgr.c
parent81a5448c187458ea3edcc0a72044a4cfdf0273bf (diff)
downloadtor-594140574e7366efac693d440a636a1e1cce82ff.tar.gz
tor-594140574e7366efac693d440a636a1e1cce82ff.zip
Fix remaining cases of using consensus without a len parameter.
(Thanks to cyberpunks for noting two of them!)
Diffstat (limited to 'src/test/test_consdiffmgr.c')
-rw-r--r--src/test/test_consdiffmgr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_consdiffmgr.c b/src/test/test_consdiffmgr.c
index 4b49fdb6aa..966314be13 100644
--- a/src/test/test_consdiffmgr.c
+++ b/src/test/test_consdiffmgr.c
@@ -21,6 +21,8 @@
#include "test/test.h"
#include "test/log_test_helpers.h"
+#define consdiffmgr_add_consensus consdiffmgr_add_consensus_nulterm
+
static char *
consensus_diff_apply_(const char *c, const char *d)
{