mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Enforce coding style.
svn:r3025
This commit is contained in:
parent
e764d00e15
commit
ee7bef1458
@ -717,10 +717,10 @@ circuit_get_open_circ_or_launch(connection_t *conn,
|
||||
/* If we have specified a particular exit node for our
|
||||
* connection, then be sure to open a circuit to that exit node.
|
||||
*/
|
||||
if(desired_circuit_purpose == CIRCUIT_PURPOSE_C_GENERAL) {
|
||||
if (desired_circuit_purpose == CIRCUIT_PURPOSE_C_GENERAL) {
|
||||
if (conn->chosen_exit_name) {
|
||||
exitname = tor_strdup(conn->chosen_exit_name);
|
||||
if(!router_get_by_nickname(exitname)) {
|
||||
if (!router_get_by_nickname(exitname)) {
|
||||
log_fn(LOG_WARN,"Requested exit point '%s' is not known. Closing.", exitname);
|
||||
tor_free(exitname);
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user