Whitespace fixes; comments.

svn:r5596
This commit is contained in:
Nick Mathewson 2005-12-15 21:17:40 +00:00
parent 713c995adb
commit 24e79df0b6
4 changed files with 6 additions and 3 deletions

View File

@ -1316,6 +1316,8 @@ generate_v2_networkstatus(void)
ri->cache_info.identity_digest); ri->cache_info.identity_digest);
int f_named = naming && ri->is_named; int f_named = naming && ri->is_named;
int f_valid = ri->is_verified; int f_valid = ri->is_verified;
/* 0.1.1.9-alpha is the first version to support fetch by descriptor
* hash. */
int f_v2_dir = ri->dir_port && int f_v2_dir = ri->dir_port &&
tor_version_as_new_as(ri->platform,"0.1.1.9-alpha"); tor_version_as_new_as(ri->platform,"0.1.1.9-alpha");
char identity64[BASE64_DIGEST_LEN+1]; char identity64[BASE64_DIGEST_LEN+1];

View File

@ -777,7 +777,8 @@ router_parse_entry_from_string(const char *s, const char *end)
goto err; goto err;
} else { } else {
if (tok->n_args < 3) { if (tok->n_args < 3) {
warn(LD_DIR,"Not enough arguments to \"bandwidth\" in server descriptor."); warn(LD_DIR,
"Not enough arguments to \"bandwidth\" in server descriptor.");
goto err; goto err;
} }
router->bandwidthrate = router->bandwidthrate =