mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
petty cleanups
svn:r6421
This commit is contained in:
+1
-1
@@ -1316,7 +1316,7 @@ dumpstats(int severity)
|
||||
(int)(now - conn->timestamp_created));
|
||||
if (!connection_is_listener(conn)) {
|
||||
log(severity,LD_GENERAL,
|
||||
"Conn %d is to '%s:%d'.", i,
|
||||
"Conn %d is to %s:%d.", i,
|
||||
safe_str(conn->address), conn->port);
|
||||
log(severity,LD_GENERAL,
|
||||
"Conn %d: %d bytes waiting on inbuf (len %d, last read %d secs ago)",
|
||||
|
||||
+1
-2
@@ -760,10 +760,9 @@ router_get_my_routerinfo(void)
|
||||
if (!server_mode(get_options()))
|
||||
return NULL;
|
||||
|
||||
if (!desc_routerinfo || !desc_clean_since) {
|
||||
if (!desc_routerinfo || !desc_clean_since)
|
||||
if (router_rebuild_descriptor(!desc_routerinfo))
|
||||
return NULL;
|
||||
}
|
||||
return desc_routerinfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user