From 447a3a7ff273e528ce2e0227925b986a80bcbde4 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 29 Nov 2005 17:17:02 +0000 Subject: Funny. I could have sworn that it compiled. svn:r5467 --- src/or/dirserv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 391405526e..174141aeef 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1345,7 +1345,7 @@ dirserv_get_networkstatus_v2(smartlist_t *result, } } else if (!strcmp(key, "all")) { digestmap_iter_t *iter; - if (should_generate_v2_networkstatus(void)) + if (should_generate_v2_networkstatus()) generate_v2_networkstatus(); iter = digestmap_iter_init(cached_v2_networkstatus); while (!digestmap_iter_done(iter)) { @@ -1364,7 +1364,7 @@ dirserv_get_networkstatus_v2(smartlist_t *result, SMARTLIST_FOREACH(digests, char *, cp, { cached_dir_t *cached; - if (router_digest_is_me(cp) && should_generate_v2_networkstatus(void)) + if (router_digest_is_me(cp) && should_generate_v2_networkstatus()) generate_v2_networkstatus(); cached = digestmap_get(cached_v2_networkstatus, cp); if (cached) { -- cgit v1.2.3-54-g00ecf