diff options
author | George Kadianakis <desnacked@riseup.net> | 2021-07-06 13:22:59 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2021-07-06 13:22:59 +0300 |
commit | 1f87269cf47e2c01ef500405a971b17130c8bb72 (patch) | |
tree | dc130fb2121485d0374e6c2ddff449a849e92cff /src/test/test_entrynodes.c | |
parent | 52c5b8aa12cc613e145600826965917ae10b7cbb (diff) | |
download | tor-1f87269cf47e2c01ef500405a971b17130c8bb72.tar.gz tor-1f87269cf47e2c01ef500405a971b17130c8bb72.zip |
Code improvements
Diffstat (limited to 'src/test/test_entrynodes.c')
-rw-r--r-- | src/test/test_entrynodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_entrynodes.c b/src/test/test_entrynodes.c index 785ce296d3..4d353e8480 100644 --- a/src/test/test_entrynodes.c +++ b/src/test/test_entrynodes.c @@ -3102,7 +3102,7 @@ test_entry_guard_layer2_guards(void *arg) /* Create the guardset */ maintain_layer2_guards(); - routerset_t *l2_guards = get_layer2_guards(); + const routerset_t *l2_guards = get_layer2_guards(); tt_assert(l2_guards); tt_int_op(routerset_len(l2_guards), OP_EQ, 4); |