aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-11-29 17:17:02 +0000
committerNick Mathewson <nickm@torproject.org>2005-11-29 17:17:02 +0000
commit447a3a7ff273e528ce2e0227925b986a80bcbde4 (patch)
tree4ed3c0bd76d93a30494508e0841c2ef3e1066f57 /src
parent94e8dcef442d63ddb811d26e2caccf188f3ed3cf (diff)
downloadtor-447a3a7ff273e528ce2e0227925b986a80bcbde4.tar
tor-447a3a7ff273e528ce2e0227925b986a80bcbde4.tar.gz
Funny. I could have sworn that it compiled.
svn:r5467
Diffstat (limited to 'src')
-rw-r--r--src/or/dirserv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 391405526..174141aee 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) {