mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Whitespace tweaks
This commit is contained in:
parent
96c7612679
commit
92f5eaa235
@ -1463,11 +1463,14 @@ find_rp_for_intro(const rend_intro_cell_t *intro,
|
||||
}
|
||||
|
||||
goto err;
|
||||
} else {
|
||||
need_free = 1;
|
||||
}
|
||||
else need_free = 1;
|
||||
} else if (intro->version == 2) rp = intro->u.v2.extend_info;
|
||||
else if (intro->version == 3) rp = intro->u.v3.extend_info;
|
||||
else {
|
||||
} else if (intro->version == 2) {
|
||||
rp = intro->u.v2.extend_info;
|
||||
} else if (intro->version == 3) {
|
||||
rp = intro->u.v3.extend_info;
|
||||
} else {
|
||||
if (err_msg_out) {
|
||||
tor_asprintf(&err_msg,
|
||||
"Unknown version %d in INTRODUCE2 cell",
|
||||
@ -1864,8 +1867,7 @@ rend_service_parse_intro_for_v3(
|
||||
if (intro->u.v3.auth_type != REND_NO_AUTH) {
|
||||
intro->u.v3.auth_len = ntohs(get_uint16(buf + 2));
|
||||
ts_offset = 4 + intro->u.v3.auth_len;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
intro->u.v3.auth_len = 0;
|
||||
ts_offset = 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user