diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-05 00:49:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-05 00:49:18 -0400 |
commit | 20d6f787aaea3252a07e5913e67cf63d60de4d9f (patch) | |
tree | fc978af03ccfa2794df65278ac228ce6f69ffe7e /src/or/routerlist.c | |
parent | 913067f788d84d748d9377bb5563b2a8f88dc483 (diff) | |
download | tor-20d6f787aaea3252a07e5913e67cf63d60de4d9f.tar.gz tor-20d6f787aaea3252a07e5913e67cf63d60de4d9f.zip |
Fix "make check-spaces" issues
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 42063f2c84..c3e6f48a6a 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -5014,12 +5014,12 @@ update_router_have_minimum_dir_info(void) /* What fraction of desired server descriptors do we need before we will * build circuits? */ -#define FRACTION_USABLE_NEEDED .75 +#define FRAC_USABLE_NEEDED .75 /* What fraction of desired _exit_ server descriptors do we need before we * will build circuits? */ -#define FRACTION_EXIT_USABLE_NEEDED .5 +#define FRAC_EXIT_USABLE_NEEDED .5 - if (num_present < num_usable * FRACTION_USABLE_NEEDED) { + if (num_present < num_usable * FRAC_USABLE_NEEDED) { tor_snprintf(dir_info_status, sizeof(dir_info_status), "We have only %d/%d usable %sdescriptors.", num_present, num_usable, using_md ? "micro" : ""); @@ -5032,7 +5032,7 @@ update_router_have_minimum_dir_info(void) num_present, using_md ? "micro" : "", num_present ? "" : "s"); res = 0; goto done; - } else if (num_exit_present < num_exit_usable * FRACTION_EXIT_USABLE_NEEDED) { + } else if (num_exit_present < num_exit_usable * FRAC_EXIT_USABLE_NEEDED) { tor_snprintf(dir_info_status, sizeof(dir_info_status), "We have only %d/%d usable exit node descriptors.", num_exit_present, num_exit_usable); |