mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Renormalize whitespace
svn:r3095
This commit is contained in:
parent
ac759adb43
commit
d19648b314
@ -835,7 +835,7 @@ int connection_ap_handshake_attach_circuit(connection_t *conn) {
|
||||
|
||||
if (conn->chosen_exit_name) {
|
||||
routerinfo_t *router = router_get_by_nickname(conn->chosen_exit_name);
|
||||
if(!router) {
|
||||
if (!router) {
|
||||
log_fn(LOG_WARN,"Requested exit point '%s' is not known. Closing.",
|
||||
conn->chosen_exit_name);
|
||||
return -1;
|
||||
|
@ -651,7 +651,7 @@ void rep_hist_note_used_port(uint16_t port, time_t now) {
|
||||
tor_assert(predicted_ports_list);
|
||||
tor_assert(predicted_ports_times);
|
||||
|
||||
if(!port) /* record nothing */
|
||||
if (!port) /* record nothing */
|
||||
return;
|
||||
|
||||
for (i = 0; i < smartlist_len(predicted_ports_list); ++i) {
|
||||
|
@ -78,7 +78,7 @@ remove_directory(void)
|
||||
perror("Can't remove");
|
||||
return;
|
||||
}
|
||||
while(1) {
|
||||
while (1) {
|
||||
size_t dlen = strlen(findData.cFileName)+strlen(temp_dir)+16;
|
||||
char *deleteable = tor_malloc(dlen);
|
||||
tor_snprintf(deleteable, dlen, "%s\\%s", temp_dir, findData.cFileName);
|
||||
|
Loading…
Reference in New Issue
Block a user