summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 702a50b2fe..12f50ee881 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -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;