mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Remove misc unnecessary newlines found by new check.
This commit is contained in:
parent
21f91dcb50
commit
f4d6315afa
@ -1789,7 +1789,6 @@ spawn_exit(void)
|
|||||||
* call _exit, not exit, from child processes. */
|
* call _exit, not exit, from child processes. */
|
||||||
_exit(0);
|
_exit(0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set *timeval to the current time of day. On error, log and terminate.
|
/** Set *timeval to the current time of day. On error, log and terminate.
|
||||||
|
@ -1030,7 +1030,6 @@ circuit_build_times_set_timeout(circuit_build_times_t *cbt)
|
|||||||
"Set circuit build timeout to %lds (%lfms, Xm: %d, a: %lf) "
|
"Set circuit build timeout to %lds (%lfms, Xm: %d, a: %lf) "
|
||||||
"based on %d circuit times", tor_lround(cbt->timeout_ms/1000),
|
"based on %d circuit times", tor_lround(cbt->timeout_ms/1000),
|
||||||
cbt->timeout_ms, cbt->Xm, cbt->alpha, cbt->total_build_times);
|
cbt->timeout_ms, cbt->Xm, cbt->alpha, cbt->total_build_times);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Iterate over values of circ_id, starting from conn-\>next_circ_id,
|
/** Iterate over values of circ_id, starting from conn-\>next_circ_id,
|
||||||
|
@ -1264,7 +1264,6 @@ update_consensus_networkstatus_fetch_time(time_t now)
|
|||||||
time_to_download_next_consensus = now;
|
time_to_download_next_consensus = now;
|
||||||
log_info(LD_DIR, "No live consensus; we should fetch one immediately.");
|
log_info(LD_DIR, "No live consensus; we should fetch one immediately.");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Return 1 if there's a reason we shouldn't try any directory
|
/** Return 1 if there's a reason we shouldn't try any directory
|
||||||
|
@ -607,7 +607,6 @@ test_circuit_timeout(void)
|
|||||||
|
|
||||||
if (circuit_build_times_add_timeout(&final, 1, approx_time()-1))
|
if (circuit_build_times_add_timeout(&final, 1, approx_time()-1))
|
||||||
final.have_computed_timeout = 1;
|
final.have_computed_timeout = 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
Loading…
Reference in New Issue
Block a user