general cleanups from looking through or-cvs

svn:r8855
This commit is contained in:
Roger Dingledine
2006-10-29 07:41:25 +00:00
parent 6b13771edd
commit 8a781f7f34
4 changed files with 43 additions and 31 deletions
+2 -2
View File
@@ -235,7 +235,7 @@ dirserv_load_fingerprint_file(void)
}
if (0==strcasecmp(nickname, UNNAMED_ROUTER_NICKNAME)) {
/* If you approved an OR called "unnamed", then clients will be
* confused.*/
* confused. */
log_notice(LD_CONFIG,
"Authorizing a nickname '%s' is not allowed; skipping.",
UNNAMED_ROUTER_NICKNAME);
@@ -384,7 +384,7 @@ dirserv_get_status_impl(const char *id_digest, const char *nickname,
if (reject_unlisted)
return FP_REJECT;
/* 0.1.0.2-rc was the first version that did enough self-testing that
* we're willing to take its word about whether it's running . */
* we're willing to take its word about whether it's running. */
if (platform && !tor_version_as_new_as(platform,"0.1.0.2-rc"))
result |= FP_INVALID;
}
+1 -1
View File
@@ -554,7 +554,7 @@ connection_edge_end_reason_str(int reason)
switch (reason) {
case -1:
log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
"End cell arrived with length 0. Should be at least 1.");
"End cell arrived with length 0. Should be at least 1.");
return "MALFORMED";
case END_STREAM_REASON_MISC: return "misc error";
case END_STREAM_REASON_RESOLVEFAILED: return "resolve failed";