summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2013-01-17 10:45:19 +0100
committerKarsten Loesing <karsten.loesing@gmx.net>2013-01-17 10:46:34 +0100
commitda1e44ee51084f5fbd1ebaf9c8ffd199c06b9019 (patch)
tree0aba3d37559ffbed976dfa04089588ed649e4603 /src/test
parent08de029a17028f01b455b11969a2099abe5958e8 (diff)
downloadtor-da1e44ee51084f5fbd1ebaf9c8ffd199c06b9019.tar.gz
tor-da1e44ee51084f5fbd1ebaf9c8ffd199c06b9019.zip
Remove dirreq-v2-* lines from extra-info descriptors.
Implements the rest of #5823.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/test.c b/src/test/test.c
index c219d984a8..1c8a64c2aa 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -1745,14 +1745,13 @@ test_geoip(void)
/* Note a successful network status response and make sure that it
* appears in the history string. */
- geoip_note_ns_response(GEOIP_CLIENT_NETWORKSTATUS, GEOIP_SUCCESS);
+ geoip_note_ns_response(GEOIP_SUCCESS);
s = geoip_format_dirreq_stats(now + 86400);
test_streq(dirreq_stats_3, s);
tor_free(s);
/* Start a tunneled directory request. */
- geoip_start_dirreq((uint64_t) 1, 1024, GEOIP_CLIENT_NETWORKSTATUS,
- DIRREQ_TUNNELED);
+ geoip_start_dirreq((uint64_t) 1, 1024, DIRREQ_TUNNELED);
s = geoip_format_dirreq_stats(now + 86400);
test_streq(dirreq_stats_4, s);