From da1e44ee51084f5fbd1ebaf9c8ffd199c06b9019 Mon Sep 17 00:00:00 2001 From: Karsten Loesing Date: Thu, 17 Jan 2013 10:45:19 +0100 Subject: Remove dirreq-v2-* lines from extra-info descriptors. Implements the rest of #5823. --- src/test/test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/test/test.c') 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); -- cgit v1.2.3-54-g00ecf