diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test.c | 4 | ||||
-rw-r--r-- | src/test/test_microdesc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test.c b/src/test/test.c index e2f8b115d3..1db1546639 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -1074,8 +1074,8 @@ test_geoip(void) test_streq("??", NAMEFOR(2000)); #undef NAMEFOR - get_options()->BridgeRelay = 1; - get_options()->BridgeRecordUsageByCountry = 1; + get_options_mutable()->BridgeRelay = 1; + get_options_mutable()->BridgeRecordUsageByCountry = 1; /* Put 9 observations in AB... */ for (i=32; i < 40; ++i) geoip_note_client_seen(GEOIP_CLIENT_CONNECT, i, now-7200); diff --git a/src/test/test_microdesc.c b/src/test/test_microdesc.c index 5a61c5dad5..b807265c84 100644 --- a/src/test/test_microdesc.c +++ b/src/test/test_microdesc.c @@ -56,7 +56,7 @@ test_md_cache(void *data) char *fn = NULL, *s = NULL; (void)data; - options = get_options(); + options = get_options_mutable(); tt_assert(options); time1 = time(NULL); |